private static enum CommandLine.TraceLevel extends java.lang.Enum<CommandLine.TraceLevel>
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled(CommandLine.TraceLevel other) |
(package private) static CommandLine.TraceLevel |
lookup(java.lang.String key) |
private java.lang.String |
prefix(java.lang.String msg) |
private void |
print(CommandLine.Tracer tracer,
java.lang.String msg,
java.lang.Object... params) |
static CommandLine.TraceLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandLine.TraceLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandLine.TraceLevel OFF
public static final CommandLine.TraceLevel WARN
public static final CommandLine.TraceLevel INFO
public static final CommandLine.TraceLevel DEBUG
public static CommandLine.TraceLevel[] values()
for (CommandLine.TraceLevel c : CommandLine.TraceLevel.values()) System.out.println(c);
public static CommandLine.TraceLevel 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 boolean isEnabled(CommandLine.TraceLevel other)
private void print(CommandLine.Tracer tracer, java.lang.String msg, java.lang.Object... params)
private java.lang.String prefix(java.lang.String msg)
static CommandLine.TraceLevel lookup(java.lang.String key)