90 default:
return "Error";
Logger module of the StormByte suite.
static constexpr std::string LevelToString(const Level &l) noexcept
Convert a Level to a short name.
Definition typedefs.hxx:81
Level
Severity levels used by the logger.
Definition typedefs.hxx:66
@ Warning
Recoverable problems.
@ Notice
Significant normal events.
@ Info
Informational messages.
@ Fatal
Unrecoverable errors.
@ Debug
Debug information.
@ LowLevel
Verbose diagnostics.
Color
ANSI foreground colors supported by the logger.
Definition typedefs.hxx:37
@ Cyan
Standard cyan foreground.
@ White
Standard white foreground.
@ BrightBlue
Bright blue foreground.
@ BrightRed
Bright red foreground.
@ BrightWhite
Bright white foreground.
@ BrightMagenta
Bright magenta foreground.
@ Yellow
Standard yellow foreground.
@ Default
No ANSI sequence; preserve the terminal's current color.
@ BrightYellow
Bright yellow foreground.
@ BrightBlack
Bright black foreground.
@ Blue
Standard blue foreground.
@ Gray
Bright black/gray foreground.
@ BrightGreen
Bright green foreground.
@ Magenta
Standard magenta foreground.
@ BrightCyan
Bright cyan foreground.
@ Green
Standard green foreground.
@ Black
Standard black foreground.
@ Red
Standard red foreground.
#define STORMBYTE_LOGGER_PUBLIC
Definition visibility.h:28