|
BDE 4.39.x Production Release
|
Provide a container for a name prefix and associated thresholds.
Provide a container for a name prefix and associated thresholds.
This component provides the class ball::HierarchicalCategorySetting that represents the properties of a hierarchical logging category setting with a category name prefix and the 4 threshold levels. See ball_loggermanager for a description of the purpose of the various thresholds.
This section illustrates intended use of this component.
The following example demonstrates how to create and use a ball::HierarchicalCategorySetting object to configure logging thresholds for categories with a specific name prefix.
First, we create a hierarchical category setting for all categories starting with "EQUITY":
Then, we can query the category prefix and threshold levels:
Finally, we can modify the threshold levels: