Overview of spdlog features
mainspdlog is a fast C++ logging library with several key capabilities:
- Performance: Very fast execution and optional asynchronous mode.
- Formatting: Uses the
fmtlibrary for feature-rich formatting and supports custom formatting. - Threading: Supports both multi-threaded and single-threaded loggers.
- Log Targets (Sinks): Supports various targets including:
- Rotating log files
- Daily log files
- Console logging (with color support)
- syslog
- Windows event log
- Windows debugger (
OutputDebugString(..)) - Qt widgets
- Custom sinks (extensible)
- Filtering: Log levels can be modified at both runtime and compile time. Supports loading log levels from
argvor environment variables. - Backtrace Support: Can store debug messages in a ring buffer to be displayed on demand.