public static enum Logger.LogLevel extends Enum<Logger.LogLevel>
DEBUG
, INFO
,
WARN
or ERROR
. There is an order
between the different log level: DEBUG < INFO < WARN < ERROR. So if you
set the logLevel to DEBUG, then you will receive _all_ the messages, if
you set it to INFO, then you will not receive the DEBUG messages. If you
set it to WARN, you will not receive the INFO or DEBUG messages.
And so on...Modifier and Type | Method and Description |
---|---|
boolean |
ge(Logger.LogLevel other) |
static Logger.LogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Logger.LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Logger.LogLevel DEBUG
public static final Logger.LogLevel INFO
public static final Logger.LogLevel WARN
public static final Logger.LogLevel ERROR
public static final Logger.LogLevel RESULT
public static Logger.LogLevel[] values()
for (Logger.LogLevel c : Logger.LogLevel.values()) System.out.println(c);
public static Logger.LogLevel 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 nullpublic boolean ge(Logger.LogLevel other)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses