setCategory overloads
Synopses
Declared in <ball_loggermanager.h>
Return or create the category named categoryName.
Category const*
setCategory(char const* categoryName);
Return or create the category and optionally link a holder.
Category const*
setCategory(
CategoryHolder* categoryHolder,
char const* categoryName);
Create or update a category with the specified threshold levels.
Category*
setCategory(
char const* categoryName,
int recordLevel,
int passLevel,
int triggerLevel,
int triggerAllLevel);
Return Value
-
address of the category named
categoryName, or of the Default Category -
address of the category if created or thresholds reset, and 0 otherwise
Parameters
Name |
Description |
categoryName |
name of the category to return or create |
categoryHolder |
optional holder to link to the returned category |
recordLevel |
record threshold level |
passLevel |
pass threshold level |
triggerLevel |
trigger threshold level |
triggerAllLevel |
trigger‐all threshold level |
Created with MrDocs