Uses of Class
org.apache.logging.log4j.core.config.LoggerConfig
Packages that use LoggerConfig
Package
Description
Implementation of Log4j 2.
Provides Asynchronous Logger classes and interfaces for low-latency logging.
Configuration of Log4j 2.
Log4j 2 JMX support.
-
Uses of LoggerConfig in org.apache.logging.log4j.core
Fields in org.apache.logging.log4j.core declared as LoggerConfigModifier and TypeFieldDescriptionfinal LoggerConfigLogger.PrivateConfig.loggerConfigLoggerConfig to delegate the actual logging to.Methods in org.apache.logging.log4j.core that return LoggerConfigConstructors in org.apache.logging.log4j.core with parameters of type LoggerConfig -
Uses of LoggerConfig in org.apache.logging.log4j.core.async
Subclasses of LoggerConfig in org.apache.logging.log4j.core.asyncModifier and TypeClassDescriptionclassAsynchronous Logger object that is created via configuration and can be combined with synchronous loggers.static classAn asynchronous root Logger.Methods in org.apache.logging.log4j.core.async that return LoggerConfigModifier and TypeMethodDescriptionAsyncLoggerConfig.Builder.build()AsyncLoggerConfig.RootLogger.Builder.build()static LoggerConfigAsyncLoggerConfig.createLogger(boolean additivity, Level level, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter) Deprecated.static LoggerConfigAsyncLoggerConfig.createLogger(String additivity, String levelName, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter) Deprecated.static LoggerConfigAsyncLoggerConfig.RootLogger.createLogger(String additivity, String levelName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter) static LoggerConfigAsyncLoggerConfig.RootLogger.createLogger(String additivity, Level level, 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.configMethods in org.apache.logging.log4j.core.config that return LoggerConfigModifier and TypeMethodDescriptionLoggerConfig.Builder.build()LoggerConfig.RootLogger.Builder.build()static LoggerConfigLoggerConfig.createLogger(boolean additivity, Level level, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter) Deprecated.static LoggerConfigLoggerConfig.createLogger(String additivity, Level level, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter) Deprecated.static LoggerConfigLoggerConfig.RootLogger.createLogger(String additivity, Level level, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter) Deprecated.AwaitCompletionReliabilityStrategy.getActiveLoggerConfig(Supplier<LoggerConfig> next) AwaitUnconditionallyReliabilityStrategy.getActiveLoggerConfig(Supplier<LoggerConfig> next) DefaultReliabilityStrategy.getActiveLoggerConfig(Supplier<LoggerConfig> next) LockingReliabilityStrategy.getActiveLoggerConfig(Supplier<LoggerConfig> next) ReliabilityStrategy.getActiveLoggerConfig(Supplier<LoggerConfig> next) For internal use by the ReliabilityStrategy; returns the LoggerConfig to use.Returns the LoggerConfig with the specified name.AbstractConfiguration.getLoggerConfig(String loggerName) Locates the appropriate LoggerConfig for a Logger name.Configuration.getLoggerConfig(String name) Locates the appropriate LoggerConfig for a Logger name.LoggerConfig.getParent()Returns the parent of this LoggerConfig.Loggers.getRoot()AbstractConfiguration.getRootLogger()Returns the root Logger.Configuration.getRootLogger()Returns the root Logger.Methods in org.apache.logging.log4j.core.config that return types with arguments of type LoggerConfigModifier and TypeMethodDescriptionAbstractConfiguration.getLoggers()Returns a Map of all the LoggerConfigs.Configuration.getLoggers()Loggers.getMap()Methods in org.apache.logging.log4j.core.config with parameters of type LoggerConfigModifier and TypeMethodDescriptionvoidAbstractConfiguration.addLogger(String loggerName, LoggerConfig loggerConfig) Add a loggerConfig.voidConfiguration.addLogger(String name, LoggerConfig loggerConfig) static LoggersLoggersPlugin.createLoggers(LoggerConfig[] loggers) Create a Loggers object to contain all the Loggers.AbstractConfiguration.getReliabilityStrategy(LoggerConfig loggerConfig) Configuration.getReliabilityStrategy(LoggerConfig loggerConfig) static ReliabilityStrategyReliabilityStrategyFactory.getReliabilityStrategy(LoggerConfig loggerConfig) Returns a newReliabilityStrategyinstance based on the value of system propertylog4j.ReliabilityStrategy.voidLoggerConfig.setParent(LoggerConfig parent) Sets the parent of this LoggerConfig.Method parameters in org.apache.logging.log4j.core.config with type arguments of type LoggerConfigModifier and TypeMethodDescriptionAwaitCompletionReliabilityStrategy.getActiveLoggerConfig(Supplier<LoggerConfig> next) AwaitUnconditionallyReliabilityStrategy.getActiveLoggerConfig(Supplier<LoggerConfig> next) DefaultReliabilityStrategy.getActiveLoggerConfig(Supplier<LoggerConfig> next) LockingReliabilityStrategy.getActiveLoggerConfig(Supplier<LoggerConfig> next) ReliabilityStrategy.getActiveLoggerConfig(Supplier<LoggerConfig> next) For internal use by the ReliabilityStrategy; returns the LoggerConfig to use.voidAwaitCompletionReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t) voidAwaitCompletionReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t) voidAwaitCompletionReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, LogEvent event) voidAwaitUnconditionallyReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t) voidAwaitUnconditionallyReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t) voidAwaitUnconditionallyReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, LogEvent event) voidDefaultReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t) voidDefaultReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t) voidDefaultReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, LogEvent event) voidLocationAwareReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t) Logs an event.voidLockingReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t) voidLockingReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t) voidLockingReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, LogEvent event) voidReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, 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 LoggerConfigModifierConstructorDescriptionAwaitCompletionReliabilityStrategy(LoggerConfig loggerConfig) AwaitUnconditionallyReliabilityStrategy(LoggerConfig loggerConfig) DefaultReliabilityStrategy(LoggerConfig loggerConfig) LockingReliabilityStrategy(LoggerConfig loggerConfig) Loggers(ConcurrentMap<String, LoggerConfig> map, LoggerConfig root) Constructor parameters in org.apache.logging.log4j.core.config with type arguments of type LoggerConfig -
Uses of LoggerConfig in org.apache.logging.log4j.core.jmx
Constructors in org.apache.logging.log4j.core.jmx with parameters of type LoggerConfigModifierConstructorDescriptionLoggerConfigAdmin(LoggerContext loggerContext, LoggerConfig loggerConfig) Constructs a newLoggerConfigAdminwith the specified LoggerContext and logger config.
AsyncLoggerConfig.createLogger(boolean, Level, String, String, AppenderRef[], Property[], Configuration, Filter)