Enum Log4J2Logger.LogLevel
- java.lang.Object
-
- java.lang.Enum<Log4J2Logger.LogLevel>
-
- com.atlassian.confluence.test.util.Log4J2Logger.LogLevel
-
- All Implemented Interfaces:
Serializable
,Comparable<Log4J2Logger.LogLevel>
- Enclosing class:
- Log4J2Logger
public static enum Log4J2Logger.LogLevel extends Enum<Log4J2Logger.LogLevel>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Log4J2Logger.LogLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static Log4J2Logger.LogLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final Log4J2Logger.LogLevel OFF
-
FATAL
public static final Log4J2Logger.LogLevel FATAL
-
ERROR
public static final Log4J2Logger.LogLevel ERROR
-
WARN
public static final Log4J2Logger.LogLevel WARN
-
INFO
public static final Log4J2Logger.LogLevel INFO
-
DEBUG
public static final Log4J2Logger.LogLevel DEBUG
-
TRACE
public static final Log4J2Logger.LogLevel TRACE
-
ALL
public static final Log4J2Logger.LogLevel ALL
-
-
Method Detail
-
values
public static Log4J2Logger.LogLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Log4J2Logger.LogLevel c : Log4J2Logger.LogLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Log4J2Logger.LogLevel valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-