setCategory overloads
Declared in <ball_log.h>
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.
static
Category const*
setCategory(char const* categoryName);
» more...
Load into the specified categoryHolder 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, load the address of the non-modifiable Default Category. Also load into categoryHolder the maximum threshold level of the category ultimately loaded into categoryHolder. This method has no effect if the logger manager singleton is not initialized.
static
void
setCategory(
CategoryHolder* categoryHolder,
char const* categoryName);
» more...