Function CE::Logging::Compile::enabled

Function Documentation

constexpr bool CE::Logging::Compile::enabled(const unsigned levels) noexcept

Declaration: [[nodiscard]]

Test whether any supplied severity bit is compiled.

See also

Detailed guide

Parameters:

levels – LogLevel bit mask, possibly a combination.

Returns:

True when compiled_mask intersects levels; this says nothing about runtime logger/sink gates.