LoggingConfig

data class LoggingConfig(val loggers: Map<String, LoggerConfig> = mapOf(), val level: LogLevel = LogLevel.Info)

The [tegral.logging] configuration object.

Constructors

Link copied to clipboard
fun LoggingConfig(loggers: Map<String, LoggerConfig> = mapOf(), level: LogLevel = LogLevel.Info)

Types

Link copied to clipboard
object Companion : ConfigurationSection<LoggingConfig>

Properties

Link copied to clipboard
val level: LogLevel

The global log level.

Link copied to clipboard
val loggers: Map<String, LoggerConfig>

Configuration overrides for individual loggers.