Enum Class的使用
api.linlang.audit.log.LogLevel
使用LogLevel的程序包
-
api.linlang.audit.log中LogLevel的使用
修饰符和类型方法说明LogRecord.level()static LogLevelReturns the enum constant of this class with the specified name.static LogLevel[]LogLevel.values()Returns an array containing the constants of this enum class, in the order they are declared.参数类型为LogLevel的api.linlang.audit.log中的方法修饰符和类型方法说明default voidLinLogger.write(LogLevel level, LogChannel channel, LogTemplate template, Throwable cause, Object... kv) 提交一条结构化日志记录。