|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | |
---|---|
static int |
ERROR_WARNING
Includes errors and warnings |
static int |
ERRORS
Error information is written to trace. |
static int |
FULL_DEBUG
Full trace. |
static int |
FULL_PATH
Compared to SHORT_DEBUG , now all method invocations are traced (those that are traced at all). |
static int |
INFO_PATH
The invocation of additional methods is added to trace compared to PATH_API . |
static int |
INFO_PATH_API
Adds informational messages to trace in addition to errors and warnings |
static int |
NONE
No trace is written. |
static int |
PATH_API
The invocation of API methods is added compared to INFO_PATH_API . |
static int |
SHORT_DEBUG
Some more verbose information including limited data containers are added compared to INFO_PATH . |
Method Summary | |
---|---|
void |
trace(int traceLevel,
java.lang.String message)
Called when a trace message is being issued. |
Field Detail |
---|
static final int NONE
static final int ERRORS
static final int ERROR_WARNING
static final int INFO_PATH_API
static final int PATH_API
INFO_PATH_API
.
static final int INFO_PATH
PATH_API
.
static final int SHORT_DEBUG
INFO_PATH
.
static final int FULL_PATH
SHORT_DEBUG
, now all method invocations are traced (those that are traced at all).
Additionally, the metadata is added to data container traces.
static final int FULL_DEBUG
Method Detail |
---|
void trace(int traceLevel, java.lang.String message)
traceLevel
- the trace levelmessage
- the trace message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |