- Very fast (see benchmarks below).
- Headers only or compiled
- Feature rich formatting, using the excellent fmt library.
- Asynchronous mode (optional)
- 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).
- Log filtering - log levels can be modified in runtime as well as in compile time.
- Support for loading log levels from argv or from environment var.
- Backtrace support - store debug messages in a ring buffer and display later on demand.
spdlog Features
猜你喜欢
转载自blog.csdn.net/qingzhuyuxian/article/details/108871535
今日推荐
周排行