com.webmethods.caf.wsclient.logging
Class ConsoleLogListener
java.lang.Object
com.webmethods.caf.wsclient.logging.ConsoleLogListener
- All Implemented Interfaces:
- ILogListener
public class ConsoleLogListener
- extends Object
- implements ILogListener
Implementation of ILogListener
that sends all log messages
to System.out
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsoleLogListener
public ConsoleLogListener()
onLogEvent
public void onLogEvent(String category,
String module,
String logMessage)
- Description copied from interface:
ILogListener
- Event handler method implementation of the ILogListener interface
Category can be one of
ILogListener.ERROR
, ILogListener.DEBUG
or ILogListener.INFO
- Specified by:
onLogEvent
in interface ILogListener
- Parameters:
category
- the serveritymodule
- the originating class / modulelogMessage
- the message details
onLogEvent
public void onLogEvent(String category,
String module,
String logMessage,
Throwable t)
- Description copied from interface:
ILogListener
- Event handler method implementation of the ILogListener interface
Category can be one of
ILogListener.ERROR
, ILogListener.DEBUG
or ILogListener.INFO
- Specified by:
onLogEvent
in interface ILogListener
- Parameters:
category
- the serveritymodule
- the originating class / modulelogMessage
- the message detailst
- the exception