B - The type to buildBuilder<ConsoleAppender>public static class ConsoleAppender.Builder<B extends ConsoleAppender.Builder<B>> extends AbstractOutputStreamAppender.Builder<B> implements Builder<ConsoleAppender>
| Constructor | Description |
|---|---|
Builder() |
| Modifier and Type | Method | Description |
|---|---|---|
ConsoleAppender |
build() |
Builds the object after all configuration has been set.
|
B |
setDirect(boolean shouldDirect) |
|
B |
setFollow(boolean shouldFollow) |
|
B |
setTarget(ConsoleAppender.Target aTarget) |
getConfiguration, getLayout, getName, getOrCreateLayout, getOrCreateLayout, isIgnoreExceptions, setConfiguration, withConfiguration, withIgnoreExceptions, withLayout, withNameasBuilder, getFilter, withFiltergetBufferSize, isBufferedIo, isImmediateFlush, withBufferedIo, withBufferSize, withImmediateFlushpublic B setTarget(ConsoleAppender.Target aTarget)
public B setFollow(boolean shouldFollow)
public B setDirect(boolean shouldDirect)
public ConsoleAppender build()
Builderbuild in interface Builder<B extends ConsoleAppender.Builder<B>>Copyright © 1999-2018. 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.