mirror of
https://github.com/InsanusMokrassar/KSLog.git
synced 2024-06-13 21:35:24 +00:00
7 lines
275 B
Kotlin
7 lines
275 B
Kotlin
package dev.inmo.kslog.common
|
|
|
|
typealias MessageFormatter = (l: LogLevel, t: String, m: String, Throwable?) -> String
|
|
typealias MessageFilter = (l: LogLevel, t: String?, Throwable?) -> Boolean
|
|
val defaultMessageFormatter: MessageFormatter = { l, t, m, _ -> "[$l] $t - $m" }
|
|
|