Level

sealed class Level : Comparable<Level>

Logging level.

Inheritors

Types

Link copied to clipboard
data object All : Level

All level corresponds to integer value of Int.MIN_VALUE. Note that this option may not be supported by all Logger implementations.

Link copied to clipboard
class Custom(val intValue: Int) : Level

Custom level allows you to specify your own values and store them statically.

Link copied to clipboard
data object Debug : Level

Debug level corresponds to integer value of 400.

Link copied to clipboard
data object Error : Level

Error level corresponds to integer value of 1000.

Link copied to clipboard
data object Info : Level

Info level corresponds to integer value of 800.

Link copied to clipboard
data object Verbose : Level

Verbose level corresponds to integer value of 300.

Link copied to clipboard
data object Warning : Level

Warning level corresponds to integer value of 900.

Properties

Link copied to clipboard
abstract val intValue: Int

Integer representation of a given level.

Functions

Link copied to clipboard
open operator override fun compareTo(other: Level): Int

Compares itself to other level for convenience.