Load threshold levels from the nearest hierarchical parent category.
Synopsis
Declared in <ball_loggerfunctorpayloads.h>
static
void
loadParentCategoryThresholdValues(
int* recordLevel,
int* passLevel,
int* triggerLevel,
int* triggerAllLevel,
char const* categoryName,
char delimiter);
Description
Load into the specified recordLevel, passLevel, triggerLevel, and triggerAllLevel the respective threshold levels of the category in the registry of the (singleton) ball logger manager that is the most proximate parent category of the category having the specified categoryName among existing hierarchically named categories in the registry, if such a parent category exists, or the default thresholds otherwise; use the specified delimiter to define hierarchical category names. The behavior is undefined unless the logger manager singleton has been initialized and is not in the process of being shut down.
Parameters
Name |
Description |
recordLevel |
loaded with the parent (or default) record threshold |
passLevel |
loaded with the parent (or default) pass threshold |
triggerLevel |
loaded with the parent (or default) trigger threshold |
triggerAllLevel |
loaded with the parent (or default) trigger‐all threshold |
categoryName |
hierarchical name whose parent thresholds are sought |
delimiter |
character that separates hierarchical name components |
Created with MrDocs