summaryrefslogtreecommitdiff
path: root/lib/zlog.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zlog.h')
-rw-r--r--lib/zlog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/zlog.h b/lib/zlog.h
index 452dbcbd0f..f71d28c99a 100644
--- a/lib/zlog.h
+++ b/lib/zlog.h
@@ -168,6 +168,10 @@ extern void zlog_msg_args(struct zlog_msg *msg, size_t *hdrlen,
extern size_t zlog_msg_ts(struct zlog_msg *msg, struct fbuf *out,
uint32_t flags);
+/* "mmm dd hh:mm:ss" for RFC3164 syslog. Only ZLOG_TS_UTC for flags. */
+extern size_t zlog_msg_ts_3164(struct zlog_msg *msg, struct fbuf *out,
+ uint32_t flags);
+
/* This list & struct implements the actual logging targets. It is accessed
* lock-free from all threads, and thus MUST only be changed atomically, i.e.
* RCU.