B
- The type to build.public abstract static class AbstractAppender.Builder<B extends AbstractAppender.Builder<B>> extends AbstractFilterable.Builder<B>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Configuration |
getConfiguration() |
Layout<? extends Serializable> |
getLayout() |
String |
getName() |
Layout<? extends Serializable> |
getOrCreateLayout() |
Layout<? extends Serializable> |
getOrCreateLayout(Charset charset) |
boolean |
isIgnoreExceptions() |
B |
setConfiguration(Configuration configuration) |
B |
withConfiguration(Configuration configuration)
Deprecated.
|
B |
withIgnoreExceptions(boolean ignoreExceptions) |
B |
withLayout(Layout<? extends Serializable> layout) |
B |
withName(String name) |
asBuilder, getFilter, withFilter
public String getName()
public boolean isIgnoreExceptions()
public Layout<? extends Serializable> getLayout()
public B withIgnoreExceptions(boolean ignoreExceptions)
public B withLayout(Layout<? extends Serializable> layout)
public Layout<? extends Serializable> getOrCreateLayout()
public Layout<? extends Serializable> getOrCreateLayout(Charset charset)
@Deprecated public B withConfiguration(Configuration configuration)
setConfiguration(Configuration)
public B setConfiguration(Configuration configuration)
public Configuration getConfiguration()
Copyright © 1999-2019 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.