From b6967329b1f6f0515379ab936fe369148667380a Mon Sep 17 00:00:00 2001 From: Pieter Hintjens Date: Wed, 2 Apr 2014 11:54:20 +0200 Subject: [PATCH] Added further prototype to zlog --- include/zlog.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/zlog.h b/include/zlog.h index 5ed193b64..fa09fe1e5 100644 --- a/include/zlog.h +++ b/include/zlog.h @@ -42,6 +42,12 @@ CZMQ_EXPORT zlog_t * CZMQ_EXPORT void zlog_destroy (zlog_t **self_p); +// Set foreground logging on/off. By default, this is off on systems that +// can do background logging using syslog, and on for systems without syslog +// support. +CZMQ_EXPORT void + zlog_set_foreground (zlog_t *self, bool foreground); + // Log error condition - highest priority CZMQ_EXPORT void zlog_error (zlog_t *self, const char *format, ...);