This struct provides a namespace for logging administration utilities.

Synopsis

Declared in <ball_administration.h>

struct Administration;

Description

This struct provides a namespace for a suite of utility functions that simplifies administration of the ball logging subsystem, and insulates administrative clients from changes to lower‐level components of the ball package. A precondition common to all of the utility functions is that the logger manager singleton must be initialized and not in the process of being shut down.

Static Member Functions

Name

Description

addCategory

Add a new category with the specified name and threshold levels.

defaultPassThresholdLevel

Return the default pass threshold level.

defaultRecordThresholdLevel

Return the default record threshold level.

defaultTriggerAllThresholdLevel

Return the default trigger‐all threshold level.

defaultTriggerThresholdLevel

Return the default trigger threshold level.

maxNumCategories

Return the current capacity of the category registry.

numCategories

Return the number of categories in the registry.

passLevel

Return the pass threshold level for the named category.

recordLevel

Return the record threshold level for the named category.

resetDefaultThresholdLevels

Reset the default threshold levels to factory values.

setAllThresholdLevels

Set default and existing category threshold levels.

setDefaultThresholdLevels

Set the default threshold levels.

setMaxNumCategories

Set the capacity of the category registry.

setThresholdLevels

Set threshold levels for categories matching a pattern.

triggerAllLevel

Return the trigger‐all threshold level for the named category.

triggerLevel

Return the trigger threshold level for the named category.

Created with MrDocs