This struct provides a namespace for enumerating severity levels.

Synopsis

Declared in <ball_severity.h>

struct Severity;

Enums

Name

Description

Unnamed enum

Define e_LENGTH to be the number of enumerators in the Level enumeration.

Level

Severity levels for log messages.

Static Member Functions

Name

Description

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).

streamOut

Format the specified value to the specified output stream and return a reference to the modifiable stream.

toAscii

Return the string representation exactly matching the enumerator name corresponding to the specified enumeration value.

Created with MrDocs