[#BloombergLP-ball-LoggerManagerDefaults-setDefaultThresholdLevelsIfValid-0c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/LoggerManagerDefaults.adoc[LoggerManagerDefaults]::setDefaultThresholdLevelsIfValid :relfileprefix: ../../../ :mrdocs: Set the pass threshold level if valid, and zero the other levels. == Synopsis Declared in `<ball_loggermanagerdefaults.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int setDefaultThresholdLevelsIfValid(int passLevel); ---- == Description Set the pass‐through severity threshold level 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 [cols="1,4"] |=== | Name| Description | *passLevel* | candidate default pass‐through threshold level |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#