Skip to content

LogLevel

Entries

Trace

Completely detailed system events, used to gain a complete understanding (e.g. content of database requests).

Debug

Fine-grained information about what the system is doing.

Info

Overall explanation of what the system is doing.

Warning

Something strange happens that should be investigated, but it is not necessarily an error.

Error

Something went wrong, but the system is not at risk of failing because of it.

Fatal

Something went wrong, putting the entire system at risk of failing.

Types

Companion

Properties

entries

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

This method may be used to iterate over the enum entries.

name

expect val name: String

ordinal

expect val ordinal: Int

Functions

valueOf

fun valueOf(value: String): LogLevel

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

Throws

kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

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

This method may be used to iterate over the constants.