public static class OutputStreamAppender.Builder<B extends OutputStreamAppender.Builder<B>> extends AbstractOutputStreamAppender.Builder<B> implements Builder<OutputStreamAppender>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
OutputStreamAppender |
build()
Builds the object after all configuration has been set.
|
B |
setFollow(boolean shouldFollow) |
B |
setTarget(OutputStream aTarget) |
getBufferSize, isBufferedIo, isImmediateFlush, withBufferedIo, withBufferSize, withImmediateFlushgetConfiguration, getLayout, getName, getOrCreateLayout, getOrCreateLayout, isIgnoreExceptions, setConfiguration, setIgnoreExceptions, setLayout, setName, withConfiguration, withIgnoreExceptions, withLayout, withNameasBuilder, getFilter, getPropertyArray, setFilter, setPropertyArray, withFilterpublic Builder()
public OutputStreamAppender build()
Builderbuild in interface Builder<OutputStreamAppender>public B setTarget(OutputStream aTarget)
Copyright © 1999-2021 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.