add trace level

This commit is contained in:
2023-11-18 16:18:08 +06:00
parent 34a7c9624d
commit 7a8bd035f5
7 changed files with 34 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ private fun Logger.doLog(
l: LogLevel, t: String, m: String, e: Throwable?
) = log(
when(l) {
LogLevel.TRACE -> Level.ALL
LogLevel.DEBUG -> Level.FINEST
LogLevel.VERBOSE -> Level.FINE
LogLevel.INFO -> Level.INFO