Function CE::Logging::Compile::runtime_level

Function Documentation

constexpr ::CE::Logging::Level CE::Logging::Compile::runtime_level(const LogLevel level) noexcept

Declaration: [[nodiscard]]

Convert one compile-time severity bit to a runtime level.

See also

Detailed guide

Parameters:

level – A single recognized bit, not a mask combination.

Returns:

Matching runtime level, or off for unrecognized/combined values.