Skip to main content

log Namespace

Definition​

namespace helios::engine::util::log { ... }

Classes Index​

classConsoleSink

LogSink implementation that writes to standard output. More...

classLogger

Logger implementation with configurable output sinks. More...

classLogManager

LogManager for managing scoped Loggers and global sink configuration. More...

classhelios::engine::util::log::LogSink

Typedefs Index​

usingSinkTypeId = const char *

Unique identifier type for log sinks. More...

Enumerations Index​

enum classLogLevel { ... }

Severity level for log messages. More...

Typedefs​

SinkTypeId​

using helios::engine::util::log::SinkTypeId = typedef const char*

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.

 // In sink implementation:
 static constexpr const char* TYPE_ID = "console";
 [[nodiscard]] const char* typeId() const noexcept override { return TYPE_ID; }
 
 // Usage:

Definition at line 39 of file LogSink.ixx.

39 using SinkTypeId = const char*;

Enumerations​

LogLevel​

enum class helios::engine::util::log::LogLevel
strong

Severity level for log messages.

Enumeration values
Debug
Info
Warn
Error

Definition at line 16 of file LogSink.ixx.

16 enum class LogLevel {
17 Debug,
18 Info,
19 Warn,
21 };

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.