- Enclosing class:
- AmqpAppender
protected static class AmqpAppender.Event
extends Object
Helper class to encapsulate a LoggingEvent, its MDC properties, and the number of retries.
-
Constructor Summary
Constructors
Event(org.apache.logging.log4j.core.LogEvent event,
Map<?,?> properties)
-
Method Summary
org.apache.logging.log4j.core.LogEvent
int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Event
public Event(org.apache.logging.log4j.core.LogEvent event,
Map<?,?> properties)
-
Method Details
-
getEvent
public org.apache.logging.log4j.core.LogEvent getEvent()
-
getProperties
public Map<?,?> getProperties()
-
incrementRetries
public int incrementRetries()