[#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 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 `&lsqb;0 &period;&period; 255&rsqb;`&period; Return 0 on success, and a non&hyphen;zero value (with no effect on the state of this object) otherwise&period;

== Synopsis

Declared in `&lt;ball&lowbar;loggermanagerdefaults&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
setDefaultThresholdLevelsIfValid(
    int recordLevel,
    int passLevel,
    int triggerLevel,
    int triggerAllLevel);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
