summaryrefslogtreecommitdiff
path: root/util/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/log.h')
-rw-r--r--util/log.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/log.h b/util/log.h
index 29a1ba38009f..e8b03c45ad50 100644
--- a/util/log.h
+++ b/util/log.h
@@ -138,6 +138,12 @@ void log_ident_set_or_default(const char* identity);
*/
void log_set_time_asc(int use_asc);
+/**
+ * Set if the time value is printed in ISO8601 format.
+ * @param use_iso: if true, ascii timestamps are formatted in iso format.
+ */
+void log_set_time_iso(int use_iso);
+
/** get log lock */
void* log_get_lock(void);