public static class StringMatchFilter.Builder extends AbstractFilter.AbstractFilterBuilder<StringMatchFilter.Builder> implements Builder<StringMatchFilter>
ATTR_ON_MATCH, ATTR_ON_MISMATCH| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
StringMatchFilter |
build()
Builds the object after all configuration has been set.
|
StringMatchFilter.Builder |
setMatchString(String text)
Sets the logging level to use.
|
asBuilder, getOnMatch, getOnMismatch, setOnMatch, setOnMismatchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetErrorPrefix, isValidpublic StringMatchFilter.Builder setMatchString(String text)
level - the logging level to use.public StringMatchFilter build()
Builderbuild in interface Builder<StringMatchFilter> Copyright © 1999-2023 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.