Uses of Class
org.apache.logging.log4j.core.config.LoggerConfig
-
Packages that use LoggerConfig Package Description org.apache.log4j.config Log4j 1.x compatibility layer.org.apache.log4j.legacy.core org.apache.log4j.xml Log4j 1.x compatibility layer.org.apache.logging.log4j.core Implementation of Log4j 2.org.apache.logging.log4j.core.async Provides Asynchronous Logger classes and interfaces for low-latency logging.org.apache.logging.log4j.core.config Configuration of Log4j 2.org.apache.logging.log4j.core.jmx Log4j 2 JMX support. -
-
Uses of LoggerConfig in org.apache.log4j.config
Methods in org.apache.log4j.config with parameters of type LoggerConfig Modifier and Type Method Description private voidPropertiesConfiguration. parseLogger(java.util.Properties props, LoggerConfig loggerConfig, java.lang.String optionKey, java.lang.String loggerName, java.lang.String value)This method must work for the root category as well. -
Uses of LoggerConfig in org.apache.log4j.legacy.core
Methods in org.apache.log4j.legacy.core that return types with arguments of type LoggerConfig Modifier and Type Method Description private static java.util.Optional<LoggerConfig>CategoryUtil. getExactLoggerConfig(Logger logger) -
Uses of LoggerConfig in org.apache.log4j.xml
Methods in org.apache.log4j.xml with parameters of type LoggerConfig Modifier and Type Method Description private voidXmlConfiguration. parseChildrenOfLoggerElement(org.w3c.dom.Element catElement, LoggerConfig loggerConfig, boolean isRoot)Used internally to parse the children of a LoggerConfig element.private voidXmlConfiguration. parseLevel(org.w3c.dom.Element element, LoggerConfig logger, boolean isRoot)Used internally to parse a level element. -
Uses of LoggerConfig in org.apache.logging.log4j.core
Fields in org.apache.logging.log4j.core declared as LoggerConfig Modifier and Type Field Description LoggerConfigLogger.PrivateConfig. loggerConfigLoggerConfig to delegate the actual logging to.Methods in org.apache.logging.log4j.core that return LoggerConfig Modifier and Type Method Description LoggerConfigLogger. get()Constructors in org.apache.logging.log4j.core with parameters of type LoggerConfig Constructor Description PrivateConfig(Logger.PrivateConfig pc, LoggerConfig lc) -
Uses of LoggerConfig in org.apache.logging.log4j.core.async
Subclasses of LoggerConfig in org.apache.logging.log4j.core.async Modifier and Type Class Description classAsyncLoggerConfigAsynchronous Logger object that is created via configuration and can be combined with synchronous loggers.static classAsyncLoggerConfig.RootLoggerAn asynchronous root Logger.Methods in org.apache.logging.log4j.core.async that return LoggerConfig Modifier and Type Method Description LoggerConfigAsyncLoggerConfig.Builder. build()LoggerConfigAsyncLoggerConfig.RootLogger.Builder. build()static LoggerConfigAsyncLoggerConfig. createLogger(boolean additivity, Level level, java.lang.String loggerName, java.lang.String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)Deprecated.static LoggerConfigAsyncLoggerConfig. createLogger(java.lang.String additivity, java.lang.String levelName, java.lang.String loggerName, java.lang.String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)static LoggerConfigAsyncLoggerConfig.RootLogger. createLogger(java.lang.String additivity, java.lang.String levelName, java.lang.String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)static LoggerConfigAsyncLoggerConfig.RootLogger. createLogger(java.lang.String additivity, Level level, java.lang.String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)Deprecated. -
Uses of LoggerConfig in org.apache.logging.log4j.core.config
Subclasses of LoggerConfig in org.apache.logging.log4j.core.config Modifier and Type Class Description static classLoggerConfig.RootLoggerThe root Logger.Fields in org.apache.logging.log4j.core.config declared as LoggerConfig Modifier and Type Field Description private LoggerConfigAwaitCompletionReliabilityStrategy. loggerConfigprivate LoggerConfigAwaitUnconditionallyReliabilityStrategy. loggerConfigprivate LoggerConfigDefaultReliabilityStrategy. loggerConfigprivate LoggerConfigLockingReliabilityStrategy. loggerConfigprivate LoggerConfigLoggerConfig. parentprivate LoggerConfigAbstractConfiguration. rootprivate LoggerConfigLoggers. rootFields in org.apache.logging.log4j.core.config with type parameters of type LoggerConfig Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<java.lang.String,LoggerConfig>AbstractConfiguration. loggerConfigsprivate java.util.concurrent.ConcurrentMap<java.lang.String,LoggerConfig>Loggers. mapMethods in org.apache.logging.log4j.core.config that return LoggerConfig Modifier and Type Method Description LoggerConfigLoggerConfig.Builder. build()LoggerConfigLoggerConfig.RootLogger.Builder. build()static LoggerConfigLoggerConfig. createLogger(boolean additivity, Level level, java.lang.String loggerName, java.lang.String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)Deprecated.static LoggerConfigLoggerConfig. createLogger(java.lang.String additivity, Level level, java.lang.String loggerName, java.lang.String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)Deprecated.static LoggerConfigLoggerConfig.RootLogger. createLogger(java.lang.String additivity, Level level, java.lang.String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)Deprecated.LoggerConfigAwaitCompletionReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)LoggerConfigAwaitUnconditionallyReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)LoggerConfigDefaultReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)LoggerConfigLockingReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)LoggerConfigReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)For internal use by the ReliabilityStrategy; returns the LoggerConfig to use.LoggerConfigAbstractConfiguration. getLogger(java.lang.String loggerName)Returns the LoggerConfig with the specified name.LoggerConfigAbstractConfiguration. getLoggerConfig(java.lang.String loggerName)Locates the appropriate LoggerConfig for a Logger name.LoggerConfigConfiguration. getLoggerConfig(java.lang.String name)Locates the appropriate LoggerConfig for a Logger name.LoggerConfigLoggerConfig. getParent()Returns the parent of this LoggerConfig.LoggerConfigLoggers. getRoot()LoggerConfigAbstractConfiguration. getRootLogger()Returns the root Logger.LoggerConfigConfiguration. getRootLogger()Returns the root Logger.Methods in org.apache.logging.log4j.core.config that return types with arguments of type LoggerConfig Modifier and Type Method Description java.util.Map<java.lang.String,LoggerConfig>AbstractConfiguration. getLoggers()Returns a Map of all the LoggerConfigs.java.util.Map<java.lang.String,LoggerConfig>Configuration. getLoggers()java.util.concurrent.ConcurrentMap<java.lang.String,LoggerConfig>Loggers. getMap()Methods in org.apache.logging.log4j.core.config with parameters of type LoggerConfig Modifier and Type Method Description voidAbstractConfiguration. addLogger(java.lang.String loggerName, LoggerConfig loggerConfig)Add a loggerConfig.voidConfiguration. addLogger(java.lang.String name, LoggerConfig loggerConfig)(package private) abstract booleanLoggerConfig.LoggerConfigPredicate. allow(LoggerConfig config)static LoggersLoggersPlugin. createLoggers(LoggerConfig[] loggers)Create a Loggers object to contain all the Loggers.ReliabilityStrategyAbstractConfiguration. getReliabilityStrategy(LoggerConfig loggerConfig)ReliabilityStrategyConfiguration. getReliabilityStrategy(LoggerConfig loggerConfig)static ReliabilityStrategyReliabilityStrategyFactory. getReliabilityStrategy(LoggerConfig loggerConfig)Returns a newReliabilityStrategyinstance based on the value of system propertylog4j.ReliabilityStrategy.private static booleanConfigurator. setLevel(LoggerConfig loggerConfig, Level level)voidLoggerConfig. setParent(LoggerConfig parent)Sets the parent of this LoggerConfig.Method parameters in org.apache.logging.log4j.core.config with type arguments of type LoggerConfig Modifier and Type Method Description LoggerConfigAwaitCompletionReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)LoggerConfigAwaitUnconditionallyReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)LoggerConfigDefaultReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)LoggerConfigLockingReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)LoggerConfigReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)For internal use by the ReliabilityStrategy; returns the LoggerConfig to use.voidAwaitCompletionReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, java.lang.StackTraceElement location, Marker marker, Level level, Message data, java.lang.Throwable t)voidAwaitCompletionReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, Marker marker, Level level, Message data, java.lang.Throwable t)voidAwaitCompletionReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, LogEvent event)voidAwaitUnconditionallyReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, java.lang.StackTraceElement location, Marker marker, Level level, Message data, java.lang.Throwable t)voidAwaitUnconditionallyReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, Marker marker, Level level, Message data, java.lang.Throwable t)voidAwaitUnconditionallyReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, LogEvent event)voidDefaultReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, java.lang.StackTraceElement location, Marker marker, Level level, Message data, java.lang.Throwable t)voidDefaultReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, Marker marker, Level level, Message data, java.lang.Throwable t)voidDefaultReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, LogEvent event)voidLocationAwareReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, java.lang.StackTraceElement location, Marker marker, Level level, Message data, java.lang.Throwable t)Logs an event.voidLockingReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, java.lang.StackTraceElement location, Marker marker, Level level, Message data, java.lang.Throwable t)voidLockingReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, Marker marker, Level level, Message data, java.lang.Throwable t)voidLockingReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, LogEvent event)voidReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, Marker marker, Level level, Message data, java.lang.Throwable t)Logs an event.voidReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, LogEvent event)Logs an event.Constructors in org.apache.logging.log4j.core.config with parameters of type LoggerConfig Constructor Description AwaitCompletionReliabilityStrategy(LoggerConfig loggerConfig)AwaitUnconditionallyReliabilityStrategy(LoggerConfig loggerConfig)DefaultReliabilityStrategy(LoggerConfig loggerConfig)LockingReliabilityStrategy(LoggerConfig loggerConfig)Loggers(java.util.concurrent.ConcurrentMap<java.lang.String,LoggerConfig> map, LoggerConfig root)Constructor parameters in org.apache.logging.log4j.core.config with type arguments of type LoggerConfig Constructor Description Loggers(java.util.concurrent.ConcurrentMap<java.lang.String,LoggerConfig> map, LoggerConfig root) -
Uses of LoggerConfig in org.apache.logging.log4j.core.jmx
Fields in org.apache.logging.log4j.core.jmx declared as LoggerConfig Modifier and Type Field Description private LoggerConfigLoggerConfigAdmin. loggerConfigConstructors in org.apache.logging.log4j.core.jmx with parameters of type LoggerConfig Constructor Description LoggerConfigAdmin(LoggerContext loggerContext, LoggerConfig loggerConfig)Constructs a newLoggerConfigAdminwith the specified LoggerContext and logger config.
-