[#BloombergLP-ball-Severity] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::Severity :relfileprefix: ../../ :mrdocs: This struct provides a namespace for enumerating severity levels. == Synopsis Declared in `<ball_severity.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct Severity; ---- == Enums [cols="1,4"] |=== | Name| Description | xref:BloombergLP/ball/Severity/_04enum.adoc[`Unnamed enum`] | Define `e_LENGTH` to be the number of enumerators in the `Level` enumeration. | xref:BloombergLP/ball/Severity/Level.adoc[`Level`] | Severity levels for log messages. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/ball/Severity/fromAscii.adoc[`fromAscii`] | Load into the specified `level` the severity matching the specified case‐insensitive `string` of the specified `stringLength`. Return 0 on success, and a non‐zero value with no effect on `level` otherwise (i.e., `string` does not match any `Level` enumerator). | xref:BloombergLP/ball/Severity/streamOut.adoc[`streamOut`] | Format the specified `value` to the specified output `stream` and return a reference to the modifiable `stream`. | xref:BloombergLP/ball/Severity/toAscii.adoc[`toAscii`] | Return the string representation exactly matching the enumerator name corresponding to the specified enumeration `value`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#