public enum Tracer extends Enum<Tracer>
Gru internal code should use Tracer.trace at critical points.
Gru users should set a property (or environment variable) with name 'gruth.traces' the value is a comma separated list of Tracer values.| Enum Constant and Description |
|---|
NODE_BUILD |
NODE_CALLS |
NODE_EVAL |
NODE_MODIF |
POST |
PRE |
TEST_BUILD |
TEST_EVAL |
XPECT |
| Modifier and Type | Method and Description |
|---|---|
static void |
trace(Tracer tracer,
Object... args) |
static Tracer |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tracer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tracer NODE_BUILD
public static final Tracer NODE_EVAL
public static final Tracer NODE_MODIF
public static final Tracer NODE_CALLS
public static final Tracer TEST_BUILD
public static final Tracer TEST_EVAL
public static final Tracer PRE
public static final Tracer POST
public static final Tracer XPECT
public static Tracer[] values()
for (Tracer c : Tracer.values()) System.out.println(c);
public static Tracer 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 © 2016 LSST. All rights reserved.