toMaxLevel

fun toMaxLevel(maxLevel: Level, configBlock: LevelRange.() -> Unit)

DSL function to specify the maximum level at which to log.

Parameters

maxLevel

inclusive maximum level

configBlock

configuration for this range of levels