|
Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
|
Namespaces | |
| namespace | sinks |
Classes | |
| class | LogBackgroundService |
| Asynchronous background logging service executing on a dedicated C++20 std::jthread. Consumes/flushes log events or periodic status messages asynchronously without blocking the main event loop. More... | |
| struct | LogEventT |
| Zero-heap log event carrying fixed-size inline message buffer across MPSC event bus. More... | |
| class | LoggerT |
| Static compile-time logger wrapper managing severity level filtering and zero-heap string formatting. More... | |
Typedefs | |
| using | ConsoleLogger = LoggerT< sinks::ConsoleLogSink > |
| Default Console Logger alias. | |
| using | FileLogger = LoggerT< sinks::FileLogSink > |
| Default File Logger alias. | |
| using | LogEvent = LogEventT< 256 > |
| Default LogEvent alias with 256-byte inline buffer. | |
| using | NullLogger = LoggerT< sinks::NullLogSink > |
| Default Null Logger alias. | |
Enumerations | |
| enum class | LogLevel : uint8_t { Trace = 0 , Debug , Info , Warn , Error , Critical , Off } |
| Logging severity levels. More... | |
Functions | |
| constexpr const char * | logLevelToColor (LogLevel level) noexcept |
| Get ANSI color escape code for LogLevel. | |
| constexpr const char * | logLevelToString (LogLevel level) noexcept |
| Convert LogLevel enum to string representation. | |
Variables | |
| constexpr const char * | LOG_COLOR_RESET = "\033[0m" |
| ANSI reset color escape code. | |
| using corium::logging::ConsoleLogger = typedef LoggerT<sinks::ConsoleLogSink> |
Default Console Logger alias.
| using corium::logging::FileLogger = typedef LoggerT<sinks::FileLogSink> |
Default File Logger alias.
| using corium::logging::LogEvent = typedef LogEventT<256> |
Default LogEvent alias with 256-byte inline buffer.
| using corium::logging::NullLogger = typedef LoggerT<sinks::NullLogSink> |
Default Null Logger alias.
|
strong |
|
constexprnoexcept |
Get ANSI color escape code for LogLevel.
Here is the caller graph for this function:
|
constexprnoexcept |
Convert LogLevel enum to string representation.
Here is the caller graph for this function:
|
constexpr |
ANSI reset color escape code.