@Plugin(name="asyncRoot", category="Core", printObject=true) public static class AsyncLoggerConfig.RootLogger extends LoggerConfig
Modifier and Type | Class and Description |
---|---|
static class |
AsyncLoggerConfig.RootLogger.Builder<B extends AsyncLoggerConfig.RootLogger.Builder<B>> |
LoggerConfig.LevelAndRefs, LoggerConfig.LoggerConfigPredicate, LoggerConfig.RootLogger
LifeCycle.State
ROOT
DEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNIT, LOGGER
Constructor and Description |
---|
RootLogger() |
Modifier and Type | Method and Description |
---|---|
static LoggerConfig |
createLogger(String additivity,
org.apache.logging.log4j.Level level,
String includeLocation,
AppenderRef[] refs,
Property[] properties,
Configuration config,
Filter filter)
Deprecated.
|
static LoggerConfig |
createLogger(String additivity,
String levelName,
String includeLocation,
AppenderRef[] refs,
Property[] properties,
Configuration config,
Filter filter)
|
static <B extends AsyncLoggerConfig.RootLogger.Builder<B>> |
newAsyncRootBuilder() |
addAppender, callAppenders, clearAppenders, createLogger, createLogger, getAppenderRefs, getAppenders, getFilter, getLevel, getLevelAndRefs, getLogEventFactory, getName, getParent, getProperties, getPropertyList, getReliabilityStrategy, hasAppenders, includeLocation, includeLocation, isAdditive, isIncludeLocation, isPropertiesRequireLookup, log, log, log, log, newBuilder, removeAppender, requiresLocation, setAdditive, setLevel, setLogEventFactory, setParent, toString
addFilter, getPropertyArray, hasFilter, isFiltered, removeFilter, start, stop, stop
equalsImpl, getState, getStatusLogger, hashCodeImpl, initialize, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stop, stop
public RootLogger()
@PluginBuilderFactory public static <B extends AsyncLoggerConfig.RootLogger.Builder<B>> B newAsyncRootBuilder()
@Deprecated public static LoggerConfig createLogger(String additivity, String levelName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
@Deprecated public static LoggerConfig createLogger(@PluginAttribute(value="additivity") String additivity, @PluginAttribute(value="level") org.apache.logging.log4j.Level level, @PluginAttribute(value="includeLocation") String includeLocation, @PluginElement(value="AppenderRef") AppenderRef[] refs, @PluginElement(value="Properties") Property[] properties, @PluginConfiguration Configuration config, @PluginElement(value="Filter") Filter filter)
Copyright © 1999-2022 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.