|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.events.LoggingEventListener
public class LoggingEventListener
EventListener implementation that redirects events to Commons Logging. The events are converted to localized messages.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
org.apache.commons.logging.Log |
getLog()
Returns the target logger for this instance. |
void |
processEvent(Event event)
This method is called for each event that is generated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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)Method Detail |
---|
public org.apache.commons.logging.Log getLog()
public void processEvent(Event event)
event
- the event
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |