LoggerControlState

一个 MiraiLogger 的日志开关状态

这个类可以缓存 LoggerController.shouldLog 的结果, 避免多次查询

在需要的时候会自动更新, 所以不需要手动更换 LoggerControlState

Functions

Link copied to clipboard
abstract fun shouldLog(priority: SimpleLogger.LogPriority): Boolean