summaryrefslogtreecommitdiff
path: root/utils/log.h
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2017-09-10 14:22:05 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2017-09-10 14:22:05 +0100
commit8123e65351788fa633962c4f5e1bb41f1ef346e2 (patch)
tree94a03b6da798aeca180226a9b4adfd34bfd8b274 /utils/log.h
parentec94d5f812723c586b26d4c1700b641e5cb2f7a0 (diff)
downloadnetsurf-8123e65351788fa633962c4f5e1bb41f1ef346e2.tar.gz
netsurf-8123e65351788fa633962c4f5e1bb41f1ef346e2.tar.bz2
Finalise nslog layer properly in closedown
Diffstat (limited to 'utils/log.h')
-rw-r--r--utils/log.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/log.h b/utils/log.h
index a94afc130..b773ec4a2 100644
--- a/utils/log.h
+++ b/utils/log.h
@@ -44,6 +44,15 @@ typedef bool(nslog_ensure_t)(FILE *fptr);
extern nserror nslog_init(nslog_ensure_t *ensure, int *pargc, char **argv);
/**
+ * Shut down the logging system.
+ *
+ * Shuts down the logging subsystem, resetting to verbose logging and output
+ * to stderr. Note, if logging is done after calling this, it will be sent
+ * to stderr without filtering.
+ */
+extern void nslog_finalise(void);
+
+/**
* Set the logging filter.
*
* Compiles and enables the given logging filter.