private static final class AsyncAppender.DiscardSummary extends Object
Modifier and Type | Field and Description |
---|---|
private int |
count
Total count of messages discarded.
|
private LoggingEvent |
maxEvent
First event of the highest severity.
|
Constructor and Description |
---|
DiscardSummary(LoggingEvent event)
Create new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
add(LoggingEvent event)
Add discarded event to summary.
|
LoggingEvent |
createEvent()
Create event with summary information.
|
private LoggingEvent maxEvent
private int count
public DiscardSummary(LoggingEvent event)
event
- event, may not be null.public void add(LoggingEvent event)
event
- event, may not be null.public LoggingEvent createEvent()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses