Filterable
, LifeCycle
, LifeCycle2
@Plugin(name="root", category="Core", printObject=true) public static class LoggerConfig.RootLogger extends LoggerConfig
AbstractFilterable.Builder<B extends AbstractFilterable.Builder<B>>
LifeCycle.State
LoggerConfig.RootLogger
DEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNIT, LOGGER
ROOT
Constructor | Description |
---|---|
RootLogger() |
Modifier and Type | Method | Description |
---|---|---|
static LoggerConfig |
createLogger(String additivity,
Level level,
String includeLocation,
AppenderRef[] refs,
Property[] properties,
Configuration config,
Filter filter) |
addFilter, hasFilter, isFiltered, removeFilter, start, stop, stop
equalsImpl, getState, getStatusLogger, hashCodeImpl, initialize, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stop, stop
getState, initialize, isStarted, isStopped, stop
addAppender, callAppenders, clearAppenders, createLogger, createLogger, getAppenderRefs, getAppenders, getFilter, getLevel, getLogEventFactory, getName, getParent, getProperties, getPropertyList, getReliabilityStrategy, includeLocation, isAdditive, isIncludeLocation, isPropertiesRequireLookup, log, log, removeAppender, setAdditive, setLevel, setLogEventFactory, setParent, toString
@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)
Copyright © 1999-2018. 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.