BloombergLP::ball::LoggerManagerDefaults::setDefaultThresholdLevelsIfValid

setDefaultThresholdLevelsIfValid overloads

Synopses

Declared in <ball_loggermanagerdefaults.h>

Set the pass-through severity threshold level attribute of the LoggerManagerDefaults attribute of this object to the specified passLevel, if it is in the range [0 .. 255], and set all the other threshold levels (recordLevel, triggerLevel, triggerAllLevel) to 0. Return 0 on success, and a non-zero value otherwise with no effect on this object.

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

Set the quadruplet of default severity threshold level attributes 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 (with no effect on the state of this object) otherwise.

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