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