MiraiLoggerWithSwitch
带有开关的 Logger. 仅能通过 MiraiLogger.withSwitch 构造
See also
Functions
call
Link copied to clipboard
open fun call(priority: SimpleLogger.LogPriority, message: String? = null, e: Throwable? = null)
Content copied to clipboard
根据优先级调用对应函数
plus
Link copied to clipboard
添加一个 follower, 返回 follower 它只会把 this
的属性 MiraiLogger.follower 修改为这个函数的参数 follower, 然后返回这个参数. 若 MiraiLogger.follower 已经有值, 则会替换掉这个值.
Properties
follower
Link copied to clipboard
isDebugEnabled
Link copied to clipboard
isEnabled
Link copied to clipboard
isErrorEnabled
Link copied to clipboard
isInfoEnabled
Link copied to clipboard
isVerboseEnabled
Link copied to clipboard
isWarningEnabled
Link copied to clipboard