SimpleLogger
open class SimpleLogger(val identity: String?, logger: (priority: SimpleLogger.LogPriority, message: String?, e: Throwable?) -> Unit) : MiraiLoggerPlatformBase
简易日志记录, 所有类型日志都会被重定向 logger
Inheritors
Constructors
Link copied to clipboard
constructor(identity: String?, logger: (priority: SimpleLogger.LogPriority, message: String?, e: Throwable?) -> Unit)
Functions
Properties
Link copied to clipboard
当 DEBUG 级别的日志启用时返回 true
Link copied to clipboard
获取 MiraiLogger 是否已开启
Link copied to clipboard
当 ERROR 级别的日志启用时返回 true
Link copied to clipboard
当 INFO 级别的日志启用时返回 true
Link copied to clipboard
当 VERBOSE 级别的日志启用时返回 true
.
Link copied to clipboard
当 WARNING 级别的日志启用时返回 true