BloombergLP::ball::LoggerManagerConfiguration::setDefaultThresholdLevelsIfValid

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

Synopsis

Declared in <ball_loggermanagerconfiguration.h>

int
setDefaultThresholdLevelsIfValid(
    int recordLevel,
    int passLevel,
    int triggerLevel,
    int triggerAllLevel);

Description

Set the quadruplet of default severity threshold level attributes of the LoggerManagerDefaults attribute of this object to the specified recordLevel, passLevel, triggerLevel, and triggerAllLevel values if each level is in the range [0 .. 255]. Return 0 on success, and a non-zero value otherwise with no effect on this object.

Return Value

0 on success, and a non-zero value otherwise

Parameters

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