Skip to content

Commit

Permalink
Added further prototype to zlog
Browse files Browse the repository at this point in the history
  • Loading branch information
hintjens committed Apr 2, 2014
1 parent b87309d commit b696732
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/zlog.h
Original file line number Diff line number Diff line change
Expand Up @@ -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, ...);
Expand Down

0 comments on commit b696732

Please sign in to comment.