TraceDestinationpublic interface TraceDestination Defines the methods that a trace destination must implement. |
Methods Summary |
---|
public boolean | isSelected(int level, int type)Verify whether the specified info level and the info type are
selected by a listener.
It is strongly recommended to call this method before sending
information to this Trace class.
| public void | reset()Reset the trace destination.
The behaviour of this method is implementation dependent.
It could be used, for instance, to (re)initialize the traces
according to some default System properties, or to flush
(empty) the log file, etc...
| public boolean | send(int level, int type, java.lang.String className, java.lang.String methodName, java.lang.String info)Send a new information to this Trace destination
| public boolean | send(int level, int type, java.lang.String className, java.lang.String methodName, java.lang.Throwable exception)Send an exception to this Trace class.
|
|