B
- This builder class.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 |
---|---|
Layout<? extends Serializable> |
getLayout() |
String |
getName() |
Layout<? extends Serializable> |
getOrCreateLayout() |
boolean |
isIgnoreExceptions() |
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()
Copyright © 1999-2016 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.