logman 0.1.0
Modern C++23 header-only logging manager wrapping spdlog with channels, listeners, and structured events
Loading...
Searching...
No Matches
logman::JsonFormatter Class Referencefinal

spdlog formatter that builds a LogEvent from the record, dumps it as compact JSON via to_json, and appends a trailing newline. More...

#include <json_formatter.hpp>

Inherits spdlog::formatter.

Detailed Description

spdlog formatter that builds a LogEvent from the record, dumps it as compact JSON via to_json, and appends a trailing newline.

Plays the role of "single-line structured output" — one object per line, no pretty printing.


The documentation for this class was generated from the following file: