public class WhitelistTagsFilterInterceptor extends AbstractFilterInterceptor
| Constructor and Description |
|---|
WhitelistTagsFilterInterceptor(java.lang.Iterable<java.lang.String> whitelistTags)
Constructor
|
WhitelistTagsFilterInterceptor(java.lang.String... whitelistTags)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
reject(LogItem log)
Whether specific log should be filtered out.
|
interceptpublic WhitelistTagsFilterInterceptor(java.lang.String... whitelistTags)
whitelistTags - the whitelist tags, the logs with a tag that is NOT in the whitelist
will be filtered outpublic WhitelistTagsFilterInterceptor(java.lang.Iterable<java.lang.String> whitelistTags)
whitelistTags - the whitelist tags, the logs with a tag that is NOT in the whitelist
will be filtered outprotected boolean reject(LogItem log)
reject in class AbstractFilterInterceptorlog - the specific log