BloombergLP::ball::LoggerManagerDefaults::areValidDefaultThresholdLevels

Return whether the specified threshold levels are each valid.

Synopsis

Declared in <ball_loggermanagerdefaults.h>

static
bool
areValidDefaultThresholdLevels(
    int recordLevel,
    int passLevel,
    int triggerLevel,
    int triggerAllLevel);

Description

Return true if each of the specified recordLevel, passLevel, triggerLevel, and triggerAllLevel values is a valid default severity threshold level attribute, and false otherwise. Valid severity threshold level values are in the range [0 .. 255].

Return Value

true if each level is in [0 .. 255], and false 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