[#BloombergLP-bsls-Log-setSeverityThreshold]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/Log.adoc[Log]::setSeverityThreshold
:relfileprefix: ../../../
:mrdocs:

Set the severity threshold at which log records are written by `logMessage` and `logFormattedMessage` to the specified `severity`&period;

== Synopsis

Declared in `&lt;bsls&lowbar;log&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
setSeverityThreshold(xref:BloombergLP/bsls/LogSeverity/Enum.adoc[bsls::LogSeverity::Enum] severity);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *severity*
| minimum severity at which records are written
|===


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