Package elf4j.util
Enum InternalLogger
- java.lang.Object
-
- java.lang.Enum<InternalLogger>
-
- elf4j.util.InternalLogger
-
- All Implemented Interfaces:
Serializable
,Comparable<InternalLogger>
public enum InternalLogger extends Enum<InternalLogger>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Field Summary
Fields Modifier and Type Field Description static String
ELF4J_INTERNAL_LOG_LEVEL
System property to set minimum severity level of the internal logger's output
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
log(Level level, String message)
void
log(Level level, Throwable throwable, String message)
static InternalLogger
valueOf(String name)
Returns the enum constant of this type with the specified name.static InternalLogger[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final InternalLogger INSTANCE
-
-
Field Detail
-
ELF4J_INTERNAL_LOG_LEVEL
public static final String ELF4J_INTERNAL_LOG_LEVEL
System property to set minimum severity level of the internal logger's output- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static InternalLogger[] 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 (InternalLogger c : InternalLogger.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InternalLogger 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
-
-