Make syslog backend tweakable.

This commit is contained in:
Nazım Can Bedir
2016-08-22 16:39:46 +03:00
parent 2678c37b56
commit e277f9b05c
2 changed files with 10 additions and 0 deletions

View File

@@ -11,6 +11,14 @@
//
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// By default, syslog sink is only enabled on tested operating systems.
// Uncomment to enable it unconditionally.
//
// #define SPDLOG_ENABLE_SYSLOG
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// Under Linux, the much faster CLOCK_REALTIME_COARSE clock can be used.
// This clock is less accurate - can be off by dozens of millis - depending on the kernel HZ.