public static class LevelMatchFilter.Builder extends AbstractFilter.AbstractFilterBuilder<LevelMatchFilter.Builder> implements Builder<LevelMatchFilter>
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, setOnMismatchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetErrorPrefix, isValidpublic LevelMatchFilter.Builder setLevel(Level level)
level - the logging level to use.public LevelMatchFilter build()
Builderbuild in interface Builder<LevelMatchFilter>Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.