[#BloombergLP-ball-LoggerManagerDefaults-setDefaultThresholdLevelsIfValid-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/LoggerManagerDefaults.adoc[LoggerManagerDefaults]::setDefaultThresholdLevelsIfValid
:relfileprefix: ../../../
:mrdocs:

`setDefaultThresholdLevelsIfValid` overloads

== Synopses

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

Set the pass&hyphen;through severity threshold level attribute of the `LoggerManagerDefaults` attribute of this object to the specified `passLevel`, if it is in the range `&lsqb;0 &period;&period; 255&rsqb;`, and set all the other threshold levels (recordLevel, triggerLevel, triggerAllLevel) to 0&period; Return 0 on success, and a non&hyphen;zero value otherwise with no effect on this object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
xref:BloombergLP/ball/LoggerManagerDefaults/setDefaultThresholdLevelsIfValid-0c.adoc[setDefaultThresholdLevelsIfValid](int passLevel);
----

[.small]#xref:BloombergLP/ball/LoggerManagerDefaults/setDefaultThresholdLevelsIfValid-0c.adoc[_» more&period;&period;&period;_]#

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;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
xref:BloombergLP/ball/LoggerManagerDefaults/setDefaultThresholdLevelsIfValid-00.adoc[setDefaultThresholdLevelsIfValid](
    int recordLevel,
    int passLevel,
    int triggerLevel,
    int triggerAllLevel);
----

[.small]#xref:BloombergLP/ball/LoggerManagerDefaults/setDefaultThresholdLevelsIfValid-00.adoc[_» more&period;&period;&period;_]#


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