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 |
setIgnoreExceptions(boolean ignoreExceptions) |
B |
setLayout(Layout<? extends Serializable> layout) |
B |
setName(String name) |
B |
withConfiguration(Configuration configuration)
Deprecated.
|
B |
withIgnoreExceptions(boolean ignoreExceptions)
Deprecated.
|
B |
withLayout(Layout<? extends Serializable> layout)
Deprecated.
use
setLayout(Layout) . |
B |
withName(String name)
Deprecated.
use
setName(String) . |
asBuilder, getFilter, getPropertyArray, setFilter, setPropertyArray, withFilter
public Builder()
public Configuration getConfiguration()
public Layout<? extends Serializable> getLayout()
public Layout<? extends Serializable> getOrCreateLayout()
public Layout<? extends Serializable> getOrCreateLayout(Charset charset)
public boolean isIgnoreExceptions()
public B setConfiguration(Configuration configuration)
public B setIgnoreExceptions(boolean ignoreExceptions)
public B setLayout(Layout<? extends Serializable> layout)
@Deprecated public B withConfiguration(Configuration configuration)
setConfiguration(Configuration)
@Deprecated public B withIgnoreExceptions(boolean ignoreExceptions)
setIgnoreExceptions(boolean)
.@Deprecated public B withLayout(Layout<? extends Serializable> layout)
setLayout(Layout)
.@Deprecated public B withName(String name)
setName(String)
.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.