Enum Constant and Description |
---|
ALERT
Alarm Info, z.B. fuer externe Systeme oder Mail-Trigger
|
BUGFIX
Korrigiete oder gerettete Daten.
|
DATA
Ausgabe von Daten und Dumps.
|
DEBUG
Detaillierte Entwicklungs-Infos.
|
ERROR
Kritische Programminfo, ohne Crash.
|
FATAL
Sehr kritische Programminfo, wahrscheinlich mit Crash.
|
INFO
Wichtige Programminformation.
|
MESSAGE
Sehr wichtige Info, z.B. fuer externe Systeme oder Mail-Trigger
|
NOTE
Info Zusatz z.B. fuer Ergebnisanzeigen.
|
NULL
Undefiniert, intern verwendet.
|
PROGRESS
Verarbeitungsfortschritt anzeigen.
|
WARN
Warn Info unkritischer Natur.
|
Modifier and Type | Field and Description |
---|---|
boolean |
negative |
java.lang.String |
prefix |
int |
severity |
Modifier and Type | Method and Description |
---|---|
static Log.Level |
byName(java.lang.String name) |
static Log.Level |
bySeverity(int severity) |
static java.lang.String |
spacer() |
static Log.Level |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Log.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Log.Level NULL
public static final Log.Level DATA
public static final Log.Level BUGFIX
public static final Log.Level DEBUG
public static final Log.Level PROGRESS
public static final Log.Level NOTE
public static final Log.Level WARN
public static final Log.Level INFO
public static final Log.Level ERROR
public static final Log.Level MESSAGE
public static final Log.Level ALERT
public static final Log.Level FATAL
public final int severity
public final boolean negative
public final java.lang.String prefix
public static Log.Level[] values()
for (Log.Level c : Log.Level.values()) System.out.println(c);
public static Log.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 nullpublic static java.lang.String spacer()
public static Log.Level bySeverity(int severity)
public static Log.Level byName(java.lang.String name)