public static enum Logger.Level extends java.lang.Enum<Logger.Level>
Enum Constant and Description |
---|
DEBUG
Debug: Use this log level to help developers debug your application
|
ERROR
Error: Use this log level if something goes wrong e.g. an SQL-Query could not be executed, ...
|
FATAL
Fatal: Use this log level in case of a sever error
|
INFO
Info: Use this log level for normal log statements like (request received, ...)
|
TRACE
Trace: Use this log level when you want to track things line by line
|
WARNING
Warning: Use this log level for problems like informing about a resource pool is getting low, ...
|
Modifier and Type | Method and Description |
---|---|
static Logger.Level |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Logger.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Logger.Level TRACE
public static final Logger.Level DEBUG
public static final Logger.Level INFO
public static final Logger.Level WARNING
public static final Logger.Level ERROR
public static final Logger.Level FATAL
public static Logger.Level[] values()
for (Logger.Level c : Logger.Level.values()) System.out.println(c);
public static Logger.Level 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 null