@Plugin(name="root", category="Core", printObject=true) public static class LoggerConfig.RootLogger extends LoggerConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
LoggerConfig.RootLogger.Builder<B extends LoggerConfig.RootLogger.Builder<B>>
Builds LoggerConfig instances.
|
LoggerConfig.LevelAndRefs, LoggerConfig.LoggerConfigPredicate, LoggerConfig.RootLoggerLifeCycle.StateROOTDEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNIT, LOGGER| Constructor and Description |
|---|
RootLogger() |
| Modifier and Type | Method and Description |
|---|---|
static LoggerConfig |
createLogger(String additivity,
Level level,
String includeLocation,
AppenderRef[] refs,
Property[] properties,
Configuration config,
Filter filter)
Deprecated.
|
static <B extends LoggerConfig.RootLogger.Builder<B>> |
newRootBuilder() |
addAppender, callAppenders, clearAppenders, createLogger, createLogger, getAppenderRefs, getAppenders, getExplicitLevel, 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, toStringaddFilter, getPropertyArray, hasFilter, isFiltered, removeFilter, start, stop, stopequalsImpl, getState, getStatusLogger, hashCodeImpl, initialize, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stop, stop@PluginBuilderFactory public static <B extends LoggerConfig.RootLogger.Builder<B>> B newRootBuilder()
@Deprecated public static LoggerConfig createLogger(@PluginAttribute(value="additivity") String additivity, @PluginAttribute(value="level") 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-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.