log312
log312 is a cross-platform logging library designed for software developers who require fast, structured logging with pluggable output targets. It provides a compact API and supports multiple sinks, including console, files, and network backends. The library emphasizes low overhead and thread safety, making it suitable for client and server applications.
History: The project originated in 2019 as a lightweight micro-library, with its first public release in 2020.
Features: Core concepts are log levels, records, and formatters. Log messages can carry structured fields (key-value
Architecture: The system splits concerns into log records, formatters, sinks, and a logger registry. A global
Usage: Developers create or obtain a logger, configure one or more sinks, and emit messages at various
See also: Logging library, Structured logging, Log management, Syslog.