Class AsyncLoggerConfig.RootLogger
- java.lang.Object
-
- org.apache.logging.log4j.core.AbstractLifeCycle
-
- org.apache.logging.log4j.core.filter.AbstractFilterable
-
- org.apache.logging.log4j.core.config.LoggerConfig
-
- org.apache.logging.log4j.core.async.AsyncLoggerConfig.RootLogger
-
- All Implemented Interfaces:
Filterable
,LocationAware
,LifeCycle
,LifeCycle2
- Enclosing class:
- AsyncLoggerConfig
@Plugin(name="asyncRoot", category="Core", printObject=true) public static class AsyncLoggerConfig.RootLogger extends LoggerConfig
An asynchronous root Logger.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.logging.log4j.core.config.LoggerConfig
LoggerConfig.LoggerConfigPredicate, LoggerConfig.RootLogger
-
Nested classes/interfaces inherited from class org.apache.logging.log4j.core.filter.AbstractFilterable
AbstractFilterable.Builder<B extends AbstractFilterable.Builder<B>>
-
Nested classes/interfaces inherited from interface org.apache.logging.log4j.core.LifeCycle
LifeCycle.State
-
-
Field Summary
-
Fields inherited from class org.apache.logging.log4j.core.config.LoggerConfig
ROOT
-
Fields inherited from class org.apache.logging.log4j.core.AbstractLifeCycle
DEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNIT, LOGGER
-
-
Constructor Summary
Constructors Constructor Description RootLogger()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LoggerConfig
createLogger(String additivity, String levelName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
static LoggerConfig
createLogger(String additivity, Level level, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
-
Methods inherited from class org.apache.logging.log4j.core.config.LoggerConfig
addAppender, callAppenders, clearAppenders, createLogger, createLogger, getAppenderRefs, getAppenders, getFilter, getLevel, getLogEventFactory, getName, getParent, getProperties, getPropertyList, getReliabilityStrategy, hasAppenders, includeLocation, includeLocation, isAdditive, isIncludeLocation, isPropertiesRequireLookup, log, log, log, log, removeAppender, requiresLocation, setAdditive, setLevel, setLogEventFactory, setParent, toString
-
Methods inherited from class org.apache.logging.log4j.core.filter.AbstractFilterable
addFilter, getPropertyArray, hasFilter, isFiltered, removeFilter, start, stop, stop
-
Methods inherited from class org.apache.logging.log4j.core.AbstractLifeCycle
equalsImpl, getState, getStatusLogger, hashCodeImpl, initialize, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stop, stop
-
-
-
-
Method Detail
-
createLogger
@Deprecated public static LoggerConfig createLogger(String additivity, String levelName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
-
createLogger
@PluginFactory public static LoggerConfig createLogger(@PluginAttribute("additivity") String additivity, @PluginAttribute("level") Level level, @PluginAttribute("includeLocation") String includeLocation, @PluginElement("AppenderRef") AppenderRef[] refs, @PluginElement("Properties") Property[] properties, @PluginConfiguration Configuration config, @PluginElement("Filter") Filter filter)
- Since:
- 3.0
-
-