public interface EventBatchListener extends EventListener
Modifier and Type | Method and Description |
---|---|
String |
getInterestedIdentifier()
Returns the string representing the identifier
that this instance is only interested in, or
null if this instance is interested in ALL events from
any identifier
|
void |
receiveEventBatch(String identifier,
List events)
Implementations receive a list of LoggingEvent instances only if they are interested,
that is, if the source of the eventBatch matches this instances interested identifier
|
String getInterestedIdentifier()
void receiveEventBatch(String identifier, List events)
events
- List of LoggingEvent instancesidentifier
- the identifier this list of LoggingEvents is associated withCopyright © 2002-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.