Invoking the Trace Facility

The Trace Facility can be invoked using static methods that are thread-safe. Since these are static methods, it is easy to add trace points anywhere in your application code.

The previous trace protocol continues to be supported in this release. It is mapped by the trace system to the static method void trace(true, "unAssigned", Trace.High, int level, String TID, String aTraceRecord).

To simplify working with the trace API, static variables have been defined in the com.ibm.dse.base.Trace class for the purpose of specifying trace levels and trace types. These static variables allow grouping and selection of trace records based on different trace criteria (see Static variables for more details).

Related reference
Trace Facility static variables