Package | Description |
---|---|
org.apache.logging.log4j.core.filter |
Log4j 2 Filter support.
|
Modifier and Type | Method and Description |
---|---|
static BurstFilter.Builder |
BurstFilter.newBuilder() |
BurstFilter.Builder |
BurstFilter.Builder.setLevel(Level level)
Sets the logging level to use.
|
BurstFilter.Builder |
BurstFilter.Builder.setMaxBurst(long maxBurst)
Sets the maximum number of events that can occur before events are filtered for exceeding the average rate.
|
BurstFilter.Builder |
BurstFilter.Builder.setOnMatch(Filter.Result onMatch)
Sets the Result to return when the filter matches.
|
BurstFilter.Builder |
BurstFilter.Builder.setOnMismatch(Filter.Result onMismatch)
Sets the Result to return when the filter does not match.
|
BurstFilter.Builder |
BurstFilter.Builder.setRate(float rate)
Sets the average number of events per second to allow.
|