@Plugin(name="root", category="Core", printObject=true) public static class LoggerConfig.RootLogger extends LoggerConfig
LoggerConfig.LoggerConfigPredicate, LoggerConfig.RootLogger
AbstractFilterable.Builder<B extends AbstractFilterable.Builder<B>>
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) |
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
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()
@PluginFactory 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-2021 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.