public static class WriterAppender.Builder<B extends WriterAppender.Builder<B>> extends AbstractAppender.Builder<B> implements Builder<WriterAppender>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WriterAppender |
build()
Builds the object after all configuration has been set.
|
B |
setFollow(boolean shouldFollow) |
B |
setTarget(Writer aTarget) |
getConfiguration, getLayout, getName, getOrCreateLayout, getOrCreateLayout, isIgnoreExceptions, setConfiguration, setIgnoreExceptions, setLayout, setName, withConfiguration, withIgnoreExceptions, withLayout, withName
asBuilder, getFilter, getPropertyArray, setFilter, setPropertyArray, withFilter
public Builder()
public WriterAppender build()
Builder
build
in interface Builder<WriterAppender>
Copyright © 1999-2020 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.