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

Synopsis

Declared in <ball_loggermanagerconfiguration.h>

int
setDefaultThresholdLevelsIfValid(int passLevel);

Description

Set the passthrough 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.

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

passLevel

candidate default pass‐through threshold level

Created with MrDocs