public enum Logging extends Enum<Logging>
This is an enumeration of object wrapping special loggers. Each logger will use a TRACE level and could be configured separately.
A special logger should never be used to report an error or a warning.
| Enum Constant and Description |
|---|
POLL
Polling logger.
|
TIMER
Timer logger.
|
| Modifier and Type | Method and Description |
|---|---|
void |
log(String message,
Object... args)
Logs in TRACE level.
|
static Logging |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Logging[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Logging POLL
public static final Logging TIMER
public static Logging[] values()
for (Logging c : Logging.values()) System.out.println(c);
public static Logging 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-2015. All Rights Reserved.