# Level

enum Level : Enum<Level>

Represents the severity level of a log message.

## Entries

TRACE
Link copied to clipboard
TRACE

Trace level logging, used for very detailed debugging.

DEBUG
Link copied to clipboard
DEBUG

Debug level logging, used for general debugging information.

INFO
Link copied to clipboard
INFO

Info level logging, used for informational messages.

WARN
Link copied to clipboard
WARN

Warning level logging, used to indicate potential issues.

ERROR
Link copied to clipboard
ERROR

Error level logging, used to indicate failures or errors.

## Properties

entries
Link copied to clipboard
val entries: EnumEntries<Level>

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

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int

## Functions

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

values
Link copied to clipboard
fun values(): Array<Level>

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