com.webmethods.caf.wsclient.logging
Interface ILogListener
- All Known Implementing Classes:
- ConsoleLogListener, GlueLogListener
public interface ILogListener
Simple log listener interface for containers to register adapters
to there logging subsystems
ERROR
static final String ERROR
- See Also:
- Constant Field Values
DEBUG
static final String DEBUG
- See Also:
- Constant Field Values
INFO
static final String INFO
- See Also:
- Constant Field Values
onLogEvent
void onLogEvent(String category,
String module,
String logMessage)
- Event handler method implementation of the ILogListener interface
Category can be one of
ILogListener.ERROR
, ILogListener.DEBUG
or ILogListener.INFO
- Parameters:
category
- the serveritymodule
- the originating class / modulelogMessage
- the message details
onLogEvent
void onLogEvent(String category,
String module,
String logMessage,
Throwable t)
- Event handler method implementation of the ILogListener interface
Category can be one of
ILogListener.ERROR
, ILogListener.DEBUG
or ILogListener.INFO
- Parameters:
category
- the serveritymodule
- the originating class / modulelogMessage
- the message detailst
- the exception