mirror of
https://github.com/InsanusMokrassar/KSLog.git
synced 2026-11-02 01:32:54 +00:00
addDefaultKSLog
This commit is contained in:
1 parent
34ea0bd91a
commit
194e52f521
2 files changed
+3
-1
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package dev.inmo.kslog.common
|
||||
|
||||
import dev.inmo.kslog.common.filter.filtered
|
||||
import dev.inmo.kslog.common.utils.plus
|
||||
|
||||
|
||||
enum class LogLevel {
|
||||
@@ -112,3 +113,4 @@ fun KSLog(
|
||||
}
|
||||
|
||||
fun setDefaultKSLog(newDefault: KSLog) { KSLog.default = newDefault }
|
||||
fun addDefaultKSLog(newDefault: KSLog) { KSLog.default = KSLog.default + newDefault }
|
||||
Reference in new issue
Block a user