Level

@Serializable
enum Level : Enum<Level>

Levels of logging severity: higher ordinal values means greater severity.

These levels are based on common JVM practice, such as Log4j and SLF4J. Contrast with syslog(2) levels used by such as UNIX/Linux and Graylog.

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Render a level in colour using ANSI colour escapes.

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Map Levels to syslog levels. Used by other tooling such as Graylog. The level values for syslog are:

Functions

Link copied to clipboard
fun valueOf(value: String): Level

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.