Skip to content

Companion

object Companion

Properties

default

The default log level.

Whenever a new Logger is created, it uses this value to initialize its own level. This value is mutable: for example to edit the log level for the whole program, you can use:

import opensavvy.logger.LogLevel

fun main() {
    LogLevel.default = LogLevel.TRACE

    // The rest of your code
}