mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-24 02:40:13 +08:00
Simplify logger structure
This commit is contained in:
parent
a831dd6b70
commit
3c662a6e7b
@ -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?) {
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user