Improve comments in LoggerConfig

This commit is contained in:
Him188 2022-06-14 10:24:38 +01:00
parent 091c86b007
commit 98e05f3bf4
No known key found for this signature in database
GPG Key ID: BA439CDDCF652375

View File

@ -21,7 +21,8 @@ import net.mamoe.mirai.utils.MiraiExperimentalApi
public class LoggerConfig : ReadOnlyPluginConfig("Logger") {
@ValueDescription(
"""
日志输出等级 可选值: ALL, VERBOSE, DEBUG, INFO, WARNING, ERROR, NONE
默认日志输出等级
可选值: ALL, VERBOSE, DEBUG, INFO, WARNING, ERROR, NONE
"""
)
public val defaultPriority: AbstractLoggerController.LogPriority by value(AbstractLoggerController.LogPriority.INFO)