public static class LevelMatchFilter.Builder extends AbstractFilter.AbstractFilterBuilder<LevelMatchFilter.Builder> implements Builder<LevelMatchFilter>
| Modifier and Type | Field and Description |
|---|---|
private Level |
level |
ATTR_ON_MATCH, ATTR_ON_MISMATCH| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
LevelMatchFilter |
build()
Builds the object after all configuration has been set.
|
LevelMatchFilter.Builder |
setLevel(Level level)
Sets the logging level to use.
|
asBuilder, getOnMatch, getOnMismatch, setOnMatch, setOnMismatch@PluginBuilderAttribute private Level level
public LevelMatchFilter.Builder setLevel(Level level)
level - the logging level to use.public LevelMatchFilter build()
Builderbuild in interface Builder<LevelMatchFilter>