Modifiable MiraiLogger

This commit is contained in:
Him188 2019-10-03 13:57:02 +08:00
parent cca32a037b
commit 58c6a40795

View File

@ -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