Classes shipped in MQe generate lots of trace information using these methods, such that the trace point numbers are all negative. We recommend that programs using this trace mechanism use positive numbers, or zero.
MQeTrace.trace(this, (short) 1, MQeTrace.GROUP_ERROR | MQeTrace.GROUP_USER_DEFINED_1, thingToLog );This statement implements a logical AND operation on the GROUP_ERROR and GROUP_USER_DEFINED_1, maintaining the runtime filter with the MQeTrace class. If the result is non-zero, then the corresponding method on the MQeTraceHandler interface class is called, if a handler has been set.
There are several variants of the MQeTrace.trace() method, including methods that trace different numbers of parameters with the trace point.