public enum TraceLevel extends java.lang.Enum<TraceLevel>
For tracing to work, you need to look at MultiverseConstants.TRACING_ENABLED. If not enabled,
the JIT will remove dead code because we don't want any overhead.
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLoggableFrom(TraceLevel level)
Checks if the provided level is higher than this TraceLevel.
|
static TraceLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TraceLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TraceLevel None
public static final TraceLevel Coarse
public static TraceLevel[] values()
for (TraceLevel c : TraceLevel.values()) System.out.println(c);
public static 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 isLoggableFrom(TraceLevel level)
level - the TraceLevel to checkjava.lang.NullPointerException - if level is null.