public class ConsoleLogListener extends Object implements ILogListener
ILogListener
that sends all log messages
to System.out
DEBUG, ERROR, INFO
Constructor and Description |
---|
ConsoleLogListener() |
Modifier and Type | Method and Description |
---|---|
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 |
public void onLogEvent(String category, String module, String logMessage)
ILogListener
ILogListener.ERROR
, ILogListener.DEBUG
or ILogListener.INFO
onLogEvent
in interface ILogListener
category
- the serveritymodule
- the originating class / modulelogMessage
- the message detailspublic void onLogEvent(String category, String module, String logMessage, Throwable t)
ILogListener
ILogListener.ERROR
, ILogListener.DEBUG
or ILogListener.INFO
onLogEvent
in interface ILogListener
category
- the serveritymodule
- the originating class / modulelogMessage
- the message detailst
- the exception