Commit 58c6a407 authored by Him188's avatar Him188

Modifiable MiraiLogger

parent cca32a03
......@@ -30,7 +30,10 @@ interface MiraiLogger {
fun blue(any: Any?)
}
private fun defaultLogger(): MiraiLogger = Console("[TOP Level]")
/**
* 由 mirai-console 或 mirai-web 等模块实现
*/
lateinit var defaultLogger: () -> MiraiLogger
val DEBUGGING: Boolean by lazy {
//avoid inspections
......
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