[#absl-NormalizeLogSeverity-04]
= xref:absl.adoc[absl]::NormalizeLogSeverity
:relfileprefix: ../
:mrdocs:

`NormalizeLogSeverity` overloads

== Synopses

Declared in `&lt;absl&sol;base&sol;log&lowbar;severity&period;h&gt;`

Values less than `kInfo` normalize to `kInfo`&semi; values greater than `kFatal` normalize to `kError` (*NOT* `kFatal`)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/LogSeverity.adoc[absl::LogSeverity]
xref:absl/NormalizeLogSeverity-07a.adoc[NormalizeLogSeverity](xref:absl/LogSeverity.adoc[absl::LogSeverity] s);
----

[.small]#xref:absl/NormalizeLogSeverity-07a.adoc[_» more&period;&period;&period;_]#

Overload that normalizes a raw integer as if it were an `absl&colon;&colon;LogSeverity`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/LogSeverity.adoc[absl::LogSeverity]
xref:absl/NormalizeLogSeverity-072.adoc[NormalizeLogSeverity](int s);
----

[.small]#xref:absl/NormalizeLogSeverity-072.adoc[_» more&period;&period;&period;_]#

== Return Value

The normalized severity level&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| The severity level to normalize&period;
|===


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