Return the specified categoryHolder if the severity warrants logging according to the specified t_SEVERITY and categoryHolder, and 0 otherwise.

Synopsis

Declared in <ball_log.h>

template<int t_SEVERITY>
static
CategoryHolder const*
categoryHolderIfEnabled(CategoryHolder const* categoryHolder);

Return Value

categoryHolder if logging is warranted, and 0 otherwise

Parameters

Name

Description

categoryHolder

category holder to test for logging enablement

Created with MrDocs