BCLog::Logger::WillLogCategoryLevel

Check whether a category would be logged at a given level.

Synopsis

Declared in <logging.h>

[[requires_capability(0x7f2e43eed878)]]
bool
WillLogCategoryLevel(
    LogFlags category,
    Level level) const;

Return Value

true if an entry of this category and level would be logged.

Parameters

NameDescription
categoryThe category to test.
levelThe severity level to test.