mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 10:29:02 +08:00
disable syslog by default (enable by #define SPDLOG_ENABLE_SYSLOG )
This commit is contained in:
@@ -11,13 +11,6 @@
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// 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.
|
||||
@@ -56,7 +49,6 @@
|
||||
// #define SPDLOG_NO_NAME
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Uncomment to enable the SPDLOG_DEBUG/SPDLOG_TRACE macros.
|
||||
//
|
||||
@@ -100,3 +92,12 @@
|
||||
//
|
||||
// #define SPDLOG_FMT_EXTERNAL
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Uncomment to enable syslog (disabled by default)
|
||||
//
|
||||
// #define SPDLOG_ENABLE_SYSLOG
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user