BloombergLP::ball::Log::setCategory

Return from the logger manager singleton's category registry the address of the non-modifiable category having the specified categoryName if such a category exists, or if a new category having categoryName can be added to the registry (i.e., if the registry has sufficient capacity to accommodate new entries); otherwise, return the address of the non-modifiable Default Category. Return 0 if the logger manager singleton is not initialized.

Synopsis

Declared in <ball_log.h>

static
Category const*
setCategory(char const* categoryName);