|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Severity>
ca.grimoire.logging.annotations.Severity
public enum Severity
Indicates the severity of the message used by LogBefore.
This list mirrors the list of severities available in slf4j.
| Enum Constant Summary | |
|---|---|
DEBUG
Log messages will be emitted using the Logger.debug(String)
variants. |
|
ERROR
Log messages will be emitted using the Logger.error(String)
variants. |
|
INFO
Log messages will be emitted using the Logger.info(String)
variants. |
|
TRACE
Log messages will be emitted using the Logger.trace(String)
variants. |
|
WARN
Log messages will be emitted using the Logger.warn(String)
variants. |
|
| Method Summary | |
|---|---|
static Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Severity[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Severity TRACE
Logger.trace(String)
variants.
public static final Severity DEBUG
Logger.debug(String)
variants.
public static final Severity INFO
Logger.info(String)
variants.
public static final Severity WARN
Logger.warn(String)
variants.
public static final Severity ERROR
Logger.error(String)
variants.
| Method Detail |
|---|
public static Severity[] values()
for (Severity c : Severity.values()) System.out.println(c);
public static Severity valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||