mirror of
https://github.com/InsanusMokrassar/KSLog.git
synced 2024-11-24 08:48:43 +00:00
improvements in JVM
This commit is contained in:
parent
eef966fc30
commit
612e4719f0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user