ludus::foundation::logging¶
Ludus Wiki · API overview · Browse API
Namespace
Declared in modules/foundation/logging/include/ludus/foundation/logging/category.hpp
Related declarations¶
- ludus::foundation::logging::DeliveryResult
- ludus::foundation::logging::FlushResult
- ludus::foundation::logging::FormatArg
- ludus::foundation::logging::LogCategory
- ludus::foundation::logging::LogConfig
- ludus::foundation::logging::LogHealth
- ludus::foundation::logging::LogInitResult
- ludus::foundation::logging::LogStatistics
- ludus::foundation::logging::LogSystem
Enumerations¶
LogLevel¶
enum class LogLevel : uint8
level >= threshold comparisons, so the numeric order must never change without updating the filtering logic and the compiled-level macros. Related types: uint8
Trace¶
Trace = 0
Debug¶
Debug = 1
Info¶
Info = 2
Warning¶
Warning = 3
Error¶
Error = 4
Fatal¶
Fatal = 5
Declared in modules/foundation/logging/include/ludus/foundation/logging/level.hpp
DeliveryStatus¶
enum class DeliveryStatus : uint8
Related types: uint8
Delivered¶
Delivered
Filtered¶
Filtered
NoEndpoint¶
NoEndpoint
Declared in modules/foundation/logging/include/ludus/foundation/logging/log.hpp
ArgTag¶
enum class ArgTag : uint8
Related types: uint8
StrView¶
StrView
Bool¶
Bool
I64¶
I64
U64¶
U64
Ptr¶
Ptr
F64¶
F64
Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp
LogMode¶
enum class LogMode : uint8
Related types: uint8
Synchronous¶
Synchronous
Asynchronous¶
Asynchronous
Declared in modules/foundation/logging/include/ludus/foundation/logging/log_system.hpp
LogStatus¶
enum class LogStatus : uint8
Related types: uint8
Ok¶
Ok
NotInitialized¶
NotInitialized
AlreadyInitialized¶
AlreadyInitialized
Unsupported¶
Unsupported
Degraded¶
Degraded
TimedOut¶
TimedOut
Incomplete¶
Incomplete
SinkFailed¶
SinkFailed
Filtered¶
Filtered
Declared in modules/foundation/logging/include/ludus/foundation/logging/log_system.hpp
FlushKind¶
enum class FlushKind : uint8
Related types: uint8
Visible¶
Visible
Durable¶
Durable
Declared in modules/foundation/logging/include/ludus/foundation/logging/log_system.hpp
Constants and variables¶
LOG_CORE¶
constexpr LogCategory ludus::foundation::logging::LOG_CORE {"Core"}
Related types: LogCategory
Declared in modules/foundation/logging/include/ludus/foundation/logging/category.hpp
LOG_TEMP¶
constexpr LogCategory ludus::foundation::logging::LOG_TEMP {"Temp"}
Related types: LogCategory
Declared in modules/foundation/logging/include/ludus/foundation/logging/category.hpp
Functions¶
HashLogCategory¶
constexpr uint32 ludus::foundation::logging::HashLogCategory(std::string_view name) noexcept
Related types: uint32
Declared in modules/foundation/logging/include/ludus/foundation/logging/category.hpp
ToPaddedString¶
constexpr std::string_view ludus::foundation::logging::ToPaddedString(LogLevel level) noexcept
Related types: LogLevel
Declared in modules/foundation/logging/include/ludus/foundation/logging/level.hpp
ToString¶
constexpr std::string_view ludus::foundation::logging::ToString(LogLevel level) noexcept
Related types: LogLevel
Declared in modules/foundation/logging/include/ludus/foundation/logging/level.hpp
SetCurrentThreadName¶
void ludus::foundation::logging::SetCurrentThreadName(std::string_view name)
Declared in modules/foundation/logging/include/ludus/foundation/logging/log.hpp
ShouldLog¶
bool ludus::foundation::logging::ShouldLog(LogLevel level, LogCategory category) noexcept
Related types: LogLevel · LogCategory
Declared in modules/foundation/logging/include/ludus/foundation/logging/log.hpp