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

This `struct` provides a namespace for enumerating the set of logging severity levels used in the `bsls` logging framework (see `bsls&lowbar;log`)&period; See `Enum` in the TYPES sub&hyphen;section for details&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct LogSeverity;
----

== Enums

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bsls/LogSeverity/Enum.adoc[`Enum`] 
| Enumerates logging severity levels used by the `bsls` logging framework&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bsls/LogSeverity/toAscii.adoc[`toAscii`] 
| Return the non&hyphen;modifiable string representation corresponding to the specified enumeration `value`, if it exists, and a unique (error) string otherwise&period; The string representation of `value` matches its corresponding enumerator name with the &quot;e&lowbar;&quot; prefix elided&period; For example&colon; &grave; bsl&colon;&colon;cout &lt;&lt; LogSeverity&colon;&colon;toAscii(LogSeverity&colon;&colon;e&lowbar;DEBUG)&semi; &grave; will print the following on standard output&colon; &grave; DEBUG &grave; Note that specifying a `value` that does not match any of the enumerators will result in a string representation that is distinct from any of those corresponding to the enumerators, but is otherwise unspecified&period;
|===



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