protected static class LoggingSystemTurboFilter.MDCKeyFilter
extends java.lang.Object
The property filters should add on to the property levels. So, if there is a property level and filter, and both hit, it should ACCEPT. If the level doesn't match but filter does, it should be NEUTRAL, so that it goes to the level filter.
Modifier | Constructor and Description |
---|---|
protected |
MDCKeyFilter() |
Modifier and Type | Method and Description |
---|---|
void |
addFilter(java.lang.String value) |
ch.qos.logback.core.spi.FilterReply |
filterDecision(java.lang.String mdcValue)
If there are no filters defined, always returns NEUTRAL.
|
boolean |
isEmpty() |
ch.qos.logback.core.spi.FilterReply |
levelDecision(java.lang.String mdcValue,
ch.qos.logback.classic.Level level,
ch.qos.logback.core.spi.FilterReply nonAcceptReply)
If there's a value hit, returns ACCEPT or DENY based on the level.
|
void |
removeFilter(java.lang.String value) |
void |
setLevel(java.lang.String value,
ch.qos.logback.classic.Level level) |
public boolean isEmpty()
public void setLevel(java.lang.String value, ch.qos.logback.classic.Level level)
public void addFilter(java.lang.String value)
public void removeFilter(java.lang.String value)
public ch.qos.logback.core.spi.FilterReply levelDecision(java.lang.String mdcValue, ch.qos.logback.classic.Level level, ch.qos.logback.core.spi.FilterReply nonAcceptReply)
mdcValue
- level
- public ch.qos.logback.core.spi.FilterReply filterDecision(java.lang.String mdcValue)
mdcValue
-