Package com.sap.conn.jco
Interface JCoTraceListener
public interface JCoTraceListener
JCo trace listener interface. An application (server) implements this interface if it wants
to intercept trace messages. Typically it is needed, if the JCo traces shall be redirected into a trace
infrastructure so that it's interwoven with traces of layers above.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Includes errors and warnings.static final int
Error information is written to trace.static final int
Full trace.static final int
Compared toSHORT_DEBUG
, now all method invocations are traced (those that are traced at all).static final int
The invocation of additional methods is added to trace compared toPATH_API
.static final int
Adds informational messages to trace in addition to errors and warnings.static final int
No trace is written.static final int
The invocation of API methods is added compared toINFO_PATH_API
.static final int
Some more verbose information including limited data containers are added compared toINFO_PATH
. -
Method Summary
-
Field Details
-
NONE
static final int NONENo trace is written.- See Also:
-
ERRORS
static final int ERRORSError information is written to trace.- See Also:
-
ERROR_WARNING
static final int ERROR_WARNINGIncludes errors and warnings.- See Also:
-
INFO_PATH_API
static final int INFO_PATH_APIAdds informational messages to trace in addition to errors and warnings.- See Also:
-
PATH_API
static final int PATH_APIThe invocation of API methods is added compared toINFO_PATH_API
.- See Also:
-
INFO_PATH
static final int INFO_PATHThe invocation of additional methods is added to trace compared toPATH_API
.- See Also:
-
SHORT_DEBUG
static final int SHORT_DEBUGSome more verbose information including limited data containers are added compared toINFO_PATH
.- See Also:
-
FULL_PATH
static final int FULL_PATHCompared toSHORT_DEBUG
, now all method invocations are traced (those that are traced at all). Additionally, the metadata is added to data container traces.- See Also:
-
FULL_DEBUG
static final int FULL_DEBUGFull trace. Verbose information including complete data container dumps with metadata information, method invocations, informational traces and more.- See Also:
-
-
Method Details
-
trace
Called when a trace message is being issued. The trace level of the message is out of the range 0 to 8.- Parameters:
traceLevel
- the trace levelmessage
- the trace message
-