mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-08 09:10:11 +08:00
Modifiable MiraiLogger
This commit is contained in:
parent
cca32a037b
commit
58c6a40795
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user