mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 18:11:33 +08:00
Comments
This commit is contained in:
parent
6991857a8e
commit
32bc807109
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// Under Linux, the much faster CLOCK_REALTIME_COARSE clock can be used.
|
// 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
|
// This clock is less accurate - can be off by dozens of millis - depending on the kernel HZ.
|
||||||
// Uncomment to use it instead of the regular (but slower) clock.
|
// Uncomment to use it instead of the regular (but slower) clock.
|
||||||
// #define SPDLOG_CLOCK_COARSE
|
// #define SPDLOG_CLOCK_COARSE
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// Uncomment if thread id logging is not needed (i.e. no %t in the log pattern)
|
// Uncomment if thread id logging is not needed (i.e. no %t in the log pattern).
|
||||||
// This will prevent spdlog from quering the thread id on each log call.
|
// This will prevent spdlog from quering the thread id on each log call.
|
||||||
// #define SPDLOG_NO_THREAD_ID
|
// #define SPDLOG_NO_THREAD_ID
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
@ -60,13 +60,13 @@
|
|||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// Uncomment to enable the SPDLOG_DEBUG/SPDLOG_TRACE macros
|
// Uncomment to enable the SPDLOG_DEBUG/SPDLOG_TRACE macros.
|
||||||
// #define SPDLOG_DEBUG_ON
|
// #define SPDLOG_DEBUG_ON
|
||||||
// #define SPDLOG_TRACE_ON
|
// #define SPDLOG_TRACE_ON
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
// Uncomment to avoid locking in the registry operations (spdlog::get(), spdlog::drop() spdlog::register())
|
// Uncomment to avoid locking in the registry operations (spdlog::get(), spdlog::drop() spdlog::register()).
|
||||||
// Use only if your code never modifes concurrently the registry
|
// Use only if your code never modifes concurrently the registry.
|
||||||
// Note that upon creating a logger the registry is modified by spdlog..
|
// Note that upon creating a logger the registry is modified by spdlog..
|
||||||
// #define SPDLOG_NO_REGISTRY_MUTEX
|
// #define SPDLOG_NO_REGISTRY_MUTEX
|
Loading…
Reference in New Issue
Block a user