blob: 4534bd5cbad98d6780379c4e15f38e0c4f6bcb20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
spdlog is very fast, header only, C++ logging library.
Features:
- Very fast - performance is the primary goal (see benchmarks below).
- Headers only, just copy and use.
- Feature rich call style using the excellent fmt library.
- Extremely fast asynchronous mode (optional) - using lockfree queues
and other tricks to reach millions of calls/sec.
- Custom formatting.
- Multi/Single threaded loggers.
- Various log targets:
- Rotating log files.
- Daily log files.
- Console logging (colors supported).
- syslog.
- Windows debugger (OutputDebugString(..))
- Easily extendable with custom log targets (just implement a single
function in the sink interface).
- Severity based filtering - threshold levels can be modified in
runtime as well as in compile time.
|