mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-13 01:10:26 +08:00
Merge branch 'master' of https://github.com/gabime/spdlog
This commit is contained in:
commit
d0874afe3a
@ -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.
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user