public class LoggingEventListener
extends java.lang.Object
Constructor and Description |
---|
LoggingEventListener()
Creates an instance logging to the default log category of this class.
|
LoggingEventListener(org.apache.commons.logging.Log log)
Creates an instance logging to a given logger.
|
LoggingEventListener(org.apache.commons.logging.Log log,
boolean skipFatal)
Creates an instance logging to a given logger.
|
Modifier and Type | Method and Description |
---|---|
org.apache.commons.logging.Log |
getLog()
Returns the target logger for this instance.
|
void |
processEvent(Event event) |
public LoggingEventListener()
public LoggingEventListener(org.apache.commons.logging.Log log)
log
- the target loggerpublic LoggingEventListener(org.apache.commons.logging.Log log, boolean skipFatal)
log
- the target loggerskipFatal
- true if events with fatal severity level should be skipped (i.e. not logged)Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.