This commit is contained in:
gabime 2015-04-11 17:21:07 +03:00
commit d0874afe3a
2 changed files with 3 additions and 7 deletions

View File

@ -156,8 +156,4 @@ void custom_class_example()
``` ```
## Tweaking ## Tweaking
spdlog can be tweaked to improve performance even more. spdlog can be [tweaked](include/spdlog/tweakme.h) to improve performance even more.
Edit [this](include/spdlog/tweakme.h) file to disable at compile time unneeded features.

View File

@ -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 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
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
@ -40,7 +40,7 @@
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// Uncomment if date/time logging is not needed. // Uncomment if date/time logging is not needed.
// This will prevent spdlog from quering the system clock on each log call. // This will prevent spdlog from quering the clock on each log call.
// #define SPDLOG_NO_DATETIME // #define SPDLOG_NO_DATETIME
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////