public class LoggingEventCounter extends EventCounter
events, sortedEvents| Constructor and Description |
|---|
LoggingEventCounter(String name,
Logger logger,
Level level) |
| Modifier and Type | Method and Description |
|---|---|
void |
countEvent(String eventName,
Object arg)
Counts each event and invokes
log(). |
protected void |
log()
Logs the current state in a compact, human-readable format to the configured logger.
|
countEventpublic void countEvent(String eventName, @Nullable Object arg)
log().countEvent in class EventCounterprotected void log()
Copyright © 2022 Arno Unkrig. All rights reserved.