public static enum Event.Level extends Enum<Event.Level>
Enum Constant and Description |
---|
DEBUG
Debug information to track every detail of the application execution process.
|
ERROR
Error denotes an unexpected behaviour that prevented the code to work properly.
|
FATAL
Fatal is the highest form of log available, use it for unrecoverable issues.
|
INFO
Info is used to give general details on the running application, usually only messages.
|
WARNING
Warning should be used to define logs generated by expected and handled bad behaviour.
|
Modifier and Type | Method and Description |
---|---|
static Event.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Event.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Event.Level FATAL
public static final Event.Level ERROR
public static final Event.Level WARNING
public static final Event.Level INFO
public static final Event.Level DEBUG
public static Event.Level[] values()
for (Event.Level c : Event.Level.values()) System.out.println(c);
public static Event.Level valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012–2020. All rights reserved.