Package org.xwiki.logging.event
Class LoggerListener
- java.lang.Object
-
- org.xwiki.logging.event.AbstractLogEventListener
-
- org.xwiki.logging.event.LoggerListener
-
- All Implemented Interfaces:
EventListener
- Direct Known Subclasses:
LogQueueListener
public class LoggerListener extends AbstractLogEventListener
Redirect all received event to the providedLogger
.- Since:
- 5.4M1
- Version:
- $Id: 75ee7208e0657211324ac56d64e131fd62276458 $
-
-
Field Summary
-
Fields inherited from interface org.xwiki.observation.EventListener
CACHE_INVALIDATION_DEFAULT_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description LoggerListener(String name, Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Logger
getLogger()
String
getName()
void
onEvent(Event event, Object source, Object data)
void
setIgnore(boolean ignore)
-
Methods inherited from class org.xwiki.logging.event.AbstractLogEventListener
getEvents
-
-