[#BloombergLP-ball-LoggerManagerDefaults-setDefaultThresholdLevelsIfValid-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/LoggerManagerDefaults.adoc[LoggerManagerDefaults]::setDefaultThresholdLevelsIfValid :relfileprefix: ../../../ :mrdocs: Set the four default severity threshold levels if each is valid. == Synopsis Declared in `<ball_loggermanagerdefaults.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int setDefaultThresholdLevelsIfValid( int recordLevel, int passLevel, int triggerLevel, int triggerAllLevel); ---- == Description 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. == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *recordLevel* | candidate default record threshold level | *passLevel* | candidate default pass‐through threshold level | *triggerLevel* | candidate default trigger threshold level | *triggerAllLevel* | candidate default trigger‐all threshold level |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#