BloombergLP::ball::Log::categoryHolderIfEnabled

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);