|
logman 0.1.0
Modern C++23 header-only logging manager wrapping spdlog with channels, listeners, and structured events
|
spdlog formatter that emits one JSON object per log record. More...
#include <logman/listener_sink.hpp>#include <logman/log_event.hpp>#include <logman/log_event_json.hpp>#include <nlohmann/json.hpp>#include <spdlog/details/fmt_helper.h>#include <spdlog/details/log_msg.h>#include <spdlog/formatter.h>#include <spdlog/pattern_formatter.h>#include <memory>#include <string>
Go to the source code of this file.
Classes | |
| class | logman::JsonFormatter |
spdlog formatter that builds a LogEvent from the record, dumps it as compact JSON via to_json, and appends a trailing newline. More... | |
spdlog formatter that emits one JSON object per log record.
Gated by __has_include(<nlohmann/json.hpp>) in the umbrella header.