public static class MarkerPatternSelector.Builder extends Object implements Builder<MarkerPatternSelector>
builder factory method
to create this.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MarkerPatternSelector |
build()
Builds the object after all configuration has been set.
|
MarkerPatternSelector.Builder |
setAlwaysWriteExceptions(boolean alwaysWriteExceptions) |
MarkerPatternSelector.Builder |
setConfiguration(Configuration configuration) |
MarkerPatternSelector.Builder |
setDefaultPattern(String defaultPattern) |
MarkerPatternSelector.Builder |
setDisableAnsi(boolean disableAnsi) |
MarkerPatternSelector.Builder |
setNoConsoleNoAnsi(boolean noConsoleNoAnsi) |
MarkerPatternSelector.Builder |
setProperties(PatternMatch[] properties) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getErrorPrefix, isValid
public MarkerPatternSelector build()
Builder
build
in interface Builder<MarkerPatternSelector>
public MarkerPatternSelector.Builder setProperties(PatternMatch[] properties)
public MarkerPatternSelector.Builder setDefaultPattern(String defaultPattern)
public MarkerPatternSelector.Builder setAlwaysWriteExceptions(boolean alwaysWriteExceptions)
public MarkerPatternSelector.Builder setDisableAnsi(boolean disableAnsi)
public MarkerPatternSelector.Builder setNoConsoleNoAnsi(boolean noConsoleNoAnsi)
public MarkerPatternSelector.Builder setConfiguration(Configuration configuration)
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.