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


Field Summary
static String DEBUG
           
static String ERROR
           
static String INFO
           
 
Method Summary
 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
 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
 

Field Detail

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
Method Detail

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 serverity
module - the originating class / module
logMessage - 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 serverity
module - the originating class / module
logMessage - the message details
t - the exception