枚举类的使用
org.springframework.boot.logging.structured.CommonStructuredLogFormat
-
org.springframework.boot.logging.structured中CommonStructuredLogFormat的使用
修饰符和类型方法说明static CommonStructuredLogFormat
返回带有指定名称的该类的枚举常量。static CommonStructuredLogFormat[]
CommonStructuredLogFormat.values()
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同修饰符和类型方法说明void
StructuredLogFormatterFactory.CommonFormatters.add
(CommonStructuredLogFormat format, StructuredLogFormatterFactory.CommonFormatterFactory<E> factory) Add the factory that should be used for the givenCommonStructuredLogFormat
.