improvements in JVM

This commit is contained in:
InsanusMokrassar 2022-06-08 21:41:15 +06:00
parent eef966fc30
commit 612e4719f0

View File

@ -12,12 +12,12 @@ fun KSJVMLog(
val text = messageFormatter(l,t ?: defaultTag,m,e) val text = messageFormatter(l,t ?: defaultTag,m,e)
logger.log( logger.log(
when(l) { when(l) {
LogLevel.VERBOSE -> Level.FINEST LogLevel.DEBUG -> Level.ALL
LogLevel.VERBOSE -> Level.FINE
LogLevel.INFO -> Level.INFO LogLevel.INFO -> Level.INFO
LogLevel.WARNING -> Level.WARNING LogLevel.WARNING -> Level.WARNING
LogLevel.ERROR -> Level.SEVERE LogLevel.ERROR -> Level.SEVERE
LogLevel.ASSERT -> Level.OFF LogLevel.ASSERT -> Level.SEVERE
LogLevel.DEBUG -> Level.ALL
}, },
text, text,
e e