BloombergLP::ball::LoggerManagerConfiguration::setDefaultThresholdLevelsIfValid

setDefaultThresholdLevelsIfValid overloads

Synopses

Declared in <ball_loggermanagerconfiguration.h>

Set the pass threshold level if valid, and zero the other levels.

int
setDefaultThresholdLevelsIfValid(int passLevel);
» more...

Set the four default severity threshold levels if each is valid.

int
setDefaultThresholdLevelsIfValid(
    int recordLevel,
    int passLevel,
    int triggerLevel,
    int triggerAllLevel);
» more...

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
passLevelcandidate default pass-through threshold level
recordLevelcandidate default record threshold level
triggerLevelcandidate default trigger threshold level
triggerAllLevelcandidate default trigger-all threshold level