B
- The type to buildpublic static class LoggerConfig.RootLogger.Builder<B extends LoggerConfig.RootLogger.Builder<B>> extends Object implements Builder<LoggerConfig>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
B |
asBuilder() |
LoggerConfig |
build()
Builds the object after all configuration has been set.
|
Configuration |
getConfig() |
Filter |
getFilter() |
String |
getIncludeLocation() |
Level |
getLevel() |
String |
getLevelAndRefs() |
Property[] |
getProperties() |
AppenderRef[] |
getRefs() |
boolean |
isAdditivity() |
B |
withAdditivity(boolean additivity) |
B |
withConfig(Configuration config) |
B |
withIncludeLocation(String includeLocation) |
B |
withLevel(Level level) |
B |
withLevelAndRefs(String levelAndRefs) |
B |
withProperties(Property[] properties) |
B |
withRefs(AppenderRef[] refs) |
B |
withtFilter(Filter filter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getErrorPrefix, isValid
public boolean isAdditivity()
public B withAdditivity(boolean additivity)
public Level getLevel()
public String getLevelAndRefs()
public String getIncludeLocation()
public AppenderRef[] getRefs()
public B withRefs(AppenderRef[] refs)
public Property[] getProperties()
public Configuration getConfig()
public B withConfig(Configuration config)
public Filter getFilter()
public LoggerConfig build()
Builder
build
in interface Builder<LoggerConfig>
public B asBuilder()
Copyright © 1999-2023 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.