net.sf.xbus.base.core.trace
Interface TraceTarget

All Known Implementing Classes:
ConsoleTrace, FileTrace

public interface TraceTarget

If a class should be used by the Trace to write informations, it has to implement the interface TraceTarget.


Method Summary
 java.lang.String getTrace()
          Returns all trace messages as one large string.
 void trace(int priority, java.lang.Object message, java.lang.Throwable t)
          Writes the message to the sink.
 

Method Detail

trace

void trace(int priority,
           java.lang.Object message,
           java.lang.Throwable t)
Writes the message to the sink. trace is called from Trace.

Parameters:
priority - the priority after which the messages should be traced
message - the message to be traced
t - the stack trace of the Throwable

getTrace

java.lang.String getTrace()
Returns all trace messages as one large string.