log Namespace
Logging system with self-registering output sinks. More...
Definition
Classes Index
| class | ConsoleSink |
|
LogSink implementation that writes to standard output. More... | |
| class | Logger |
|
Logger implementation with configurable output sinks. More... | |
| class | LogManager |
|
LogManager for managing scoped Loggers and global sink configuration. More... | |
| class | helios::util::log::LogSink |
Typedefs Index
| using | SinkTypeId = const char * |
|
Unique identifier type for log sinks. More... | |
Enumerations Index
| enum class | LogLevel { ... } |
|
Severity level for log messages. More... | |
Description
Logging system with self-registering output sinks.
Sinks define their own type identifiers and register with the LogManager. Enable/disable is done by string identifier, allowing extensibility without modifying core logging code.
Typedefs
SinkTypeId
|
Unique identifier type for log sinks.
Each sink implementation defines its own static identifier string. The LogManager uses these identifiers to enable/disable specific sinks.
```cpp // In sink implementation: static constexpr const char* TYPE_ID = "console"; [[nodiscard]] const char* typeId() const noexcept override { return TYPE_ID; }
// Usage: LogManager::getInstance().enableSink("console"); LogManager::getInstance().disableSink("imgui"); ```
Definition at line 39 of file LogSink.ixx.
The documentation for this namespace was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.