public enum LoggingLevel extends java.lang.Enum<LoggingLevel>
Enum Constant and Description |
---|
Critical
Log only Critical debug messages
|
Debug
Log only Debug and higher priority debug messages - Critical/Error/Warning/Info
|
Error
Log only Error and higher priority debug messages - Critical
|
Info
Log only Info and higher priority debug messages - Critical/Error/Warning
|
None
Disable the debug logging
|
Stack
Log all Stack and higher priority debug messages - Critical/Error/Warning/Info/Debug
|
Warning
Log only Warning and higher priority debug messages - Critical/Error
|
Modifier and Type | Method and Description |
---|---|
static LoggingLevel |
fromInt(int i) |
static LoggingLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoggingLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggingLevel None
public static final LoggingLevel Critical
public static final LoggingLevel Error
public static final LoggingLevel Warning
public static final LoggingLevel Info
public static final LoggingLevel Debug
public static final LoggingLevel Stack
public static LoggingLevel[] values()
for (LoggingLevel c : LoggingLevel.values()) System.out.println(c);
public static LoggingLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static LoggingLevel fromInt(int i)