logman 0.1.0
Modern C++23 header-only logging manager wrapping spdlog with channels, listeners, and structured events
Loading...
Searching...
No Matches
logman.hpp
Go to the documentation of this file.
1#pragma once
2
7
12#include <logman/log_event.hpp>
14#include <logman/version.hpp>
15
16#if __has_include(<nlohmann/json.hpp>)
19#endif
Compile-time list of env-var prefixes the runtime scans.
Custom spdlog pattern flag formatters used by the default logman pattern.
Configuration struct consumed by LogManager::initialize().
spdlog formatter that emits one JSON object per log record.
ListenerSink — spdlog sink that dispatches each log record to registered listener callbacks as LogEve...
Plain-old-data structure describing one log record.
nlohmann/json adapter for LogEvent.
LogManager singleton — central registry of named spdlog channels with lazy creation,...
Numeric and string version of the logman headers.