LogLevel

Logging levels; copied straight from std.logger, to save us an import.

There are eight usable logging level. These level are all, trace, info, warning, error, critical, fatal, and off. If a log function with LogLevel.fatal is called the shutdown handler of that logger is called.

Values

ValueMeaning
all1

Lowest possible assignable LogLevel.

trace32

LogLevel for tracing the execution of the program.

info64

This level is used to display information about the program.

warning96

warnings about the program should be displayed with this level.

error128

Information about errors should be logged with this level.

critical160

Messages that inform about critical errors should be logged with this level.

fatal192

Log messages that describe fatal errors should use this level.

offubyte.max

Highest possible LogLevel.

Meta