Enum Class NutzLogConfigurationProperties.Type
java.lang.Object
java.lang.Enum<NutzLogConfigurationProperties.Type>
tech.riemann.nif.nutz.log.NutzLogConfigurationProperties.Type
- All Implemented Interfaces:
Serializable, Comparable<NutzLogConfigurationProperties.Type>, Constable
- Enclosing class:
NutzLogConfigurationProperties
public static enum NutzLogConfigurationProperties.Type
extends Enum<NutzLogConfigurationProperties.Type>
日志类型枚举类 定义了支持的日志框架类型及其对应的适配器实现
- Author:
- Kerbores(kerbores@gmail.com)
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static NutzLogConfigurationProperties.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOG4J2
log4j2日志框架类型 -
LOG4J
log4j日志框架类型 -
NOP
无操作日志框架类型(禁用日志输出) -
SLF4J
slf4j日志框架类型 -
CONSOLE
控制台日志框架类型(系统标准输出) -
CUSTOMER
自定义日志框架类型
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-