public final class ECTrace
extends java.lang.Object
This class exposes static methods. The user will call the methods exposed by this class without instantiating any objects of this type.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
static void | disable(long componentName)
This method disables a specific tracing component.
|
static void | disableTracing()
This method disables the tracing subsystem.
|
static void | enable(long componentName)
This method enables a specific tracing component.
|
static void | enableTracing()
This method enables the tracing subsystem.
|
static void | entry(long componentName, java.lang.String className, java.lang.String methodName)
This method writes an entry in the trace file to record the entrance to a method.
|
static void | entry(long componentName, java.lang.String className, java.lang.String methodName, java.lang.Object[] params)
This method writes an entry in the trace file to record the entrance to a method.
|
static void | exit(long componentName, java.lang.String className, java.lang.String methodName)
This method writes an exit in the trace file to record the exit from a method.
|
static void | exit(long componentName, java.lang.String className, java.lang.String methodName, java.lang.Object retValue)
This method writes an exit in the trace file to record the exit from a method.
|
static boolean | isClientInfoEnabled()
This method determines whether the client tracing info option is enabled.
|
static boolean | isTraceEnabled()
This method determines whether tracing is enabled.
|
static void | setClientInfoEnabled(boolean value)
This method sets the client information option.
|
static void | trace(long componentName, java.lang.String className, java.lang.String methodName, java.lang.String text)
This method writes an entry in the trace file to record a trace point in a method.
|
static boolean | traceEnabled(long componentName)
This method determines whether the a specific tracing component is enabled.
|
public static final java.lang.String COPYRIGHT
public static void disable(long componentName)
public static void disableTracing()
public static void enable(long componentName)
public static void enableTracing()
public static void entry(long componentName, java.lang.String className, java.lang.String methodName)
public static void entry(long componentName, java.lang.String className, java.lang.String methodName, java.lang.Object[] params)
public static void exit(long componentName, java.lang.String className, java.lang.String methodName)
public static void exit(long componentName, java.lang.String className, java.lang.String methodName, java.lang.Object retValue)
public static boolean isClientInfoEnabled()
public static boolean isTraceEnabled()
public static void trace(long componentName, java.lang.String className, java.lang.String methodName, java.lang.String text)
public static boolean traceEnabled(long componentName)
public static void setClientInfoEnabled(boolean value)