Commit 3c662a6e authored by Him188's avatar Him188

Simplify logger structure

parent a831dd6b
...@@ -130,20 +130,11 @@ interface MiraiLogger { ...@@ -130,20 +130,11 @@ interface MiraiLogger {
object SilentLogger : PlatformLogger() { object SilentLogger : PlatformLogger() {
override val identity: String? = null override val identity: String? = null
override fun error0(any: Any?) { override fun error0(any: Any?) = Unit
} override fun debug0(any: Any?) = Unit
override fun warning0(any: Any?) = Unit
override fun debug0(any: Any?) { override fun verbose0(any: Any?) = Unit
} override fun info0(any: Any?) = Unit
override fun warning0(any: Any?) {
}
override fun verbose0(any: Any?) {
}
override fun info0(any: Any?) {
}
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment