public class Trace
extends java.lang.Object
Trace can be enabled by setting the JVM property com.ibm.jtopenlite.Trace.category to ALL or TRUE.
The trace output can be directed to a file by setting the JVM property com.ibm.jtopenlite.Trace.file.
The trace currently consists only of the datastream information.
Modifier and Type | Field and Description |
---|---|
static int |
CATEGORY_ALL |
static int |
CATEGORY_DATASTREAM |
static int |
CATEGORY_NONE |
Constructor and Description |
---|
Trace() |
Modifier and Type | Method and Description |
---|---|
static void |
dumpException(java.lang.Exception e) |
static java.io.PrintStream |
getPrintStream() |
static int |
getTraceCategory() |
static boolean |
isStreamTracingEnabled() |
static void |
setPrintFile(java.io.File file) |
static void |
setTraceCategory(int traceCategory) |
public static final int CATEGORY_NONE
public static final int CATEGORY_DATASTREAM
public static final int CATEGORY_ALL
public static void setTraceCategory(int traceCategory)
public static int getTraceCategory()
public static void setPrintFile(java.io.File file)
public static java.io.PrintStream getPrintStream()
public static boolean isStreamTracingEnabled()
public static void dumpException(java.lang.Exception e)