Package org.sblim.cimclient
Interface TraceListener
public interface TraceListener
The interface TraceListener must be implemented if you want to attach your
own logging framework to the CIM Client.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
trace
(Level pLevel, StackTraceElement pOrigin, String pMessage) Receive a trace message.void
trace
(Level pLevel, StackTraceElement pOrigin, String pMessage, Throwable pThrown) Receive a trace message.
-
Method Details
-
trace
Receive a trace message.- Parameters:
pLevel
- One of the message level identifiers, e.g. FINEpOrigin
- The java class/method/line-of-code sending the message. Might benull
if algorithm failed to determine origin.pMessage
- The message text
-
trace
Receive a trace message.- Parameters:
pLevel
- One of the message level identifiers, e.g. SEVEREpOrigin
- The java class/method/line-of-code sending the messagepMessage
- The message textpThrown
- The throwable associated with the message
-