Uses of Class
org.apache.logging.log4j.core.config.LoggerConfig
-
Packages that use LoggerConfig Package Description 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.logging.log4j.core
Fields in org.apache.logging.log4j.core declared as LoggerConfig Modifier and Type Field Description LoggerConfig
Logger.PrivateConfig. loggerConfig
LoggerConfig to delegate the actual logging to.Methods in org.apache.logging.log4j.core that return LoggerConfig Modifier and Type Method Description LoggerConfig
Logger. 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 class
AsyncLoggerConfig
Asynchronous Logger object that is created via configuration and can be combined with synchronous loggers.static class
AsyncLoggerConfig.RootLogger
An asynchronous root Logger.Methods in org.apache.logging.log4j.core.async that return LoggerConfig Modifier and Type Method Description static LoggerConfig
AsyncLoggerConfig. createLogger(boolean additivity, Level level, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
Factory method to create a LoggerConfig.static LoggerConfig
AsyncLoggerConfig. createLogger(String additivity, String levelName, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
static LoggerConfig
AsyncLoggerConfig.RootLogger. createLogger(String additivity, String levelName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
static LoggerConfig
AsyncLoggerConfig.RootLogger. createLogger(String additivity, Level level, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
-
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 class
LoggerConfig.RootLogger
The root Logger.Methods in org.apache.logging.log4j.core.config that return LoggerConfig Modifier and Type Method Description static LoggerConfig
LoggerConfig. createLogger(boolean additivity, Level level, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
Factory method to create a LoggerConfig.static LoggerConfig
LoggerConfig. createLogger(String additivity, Level level, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
Deprecated.static LoggerConfig
LoggerConfig.RootLogger. createLogger(String additivity, Level level, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
LoggerConfig
AwaitCompletionReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)
LoggerConfig
AwaitUnconditionallyReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)
LoggerConfig
DefaultReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)
LoggerConfig
LockingReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)
LoggerConfig
ReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)
For internal use by the ReliabilityStrategy; returns the LoggerConfig to use.LoggerConfig
AbstractConfiguration. getLogger(String loggerName)
Returns the LoggerConfig with the specified name.LoggerConfig
AbstractConfiguration. getLoggerConfig(String loggerName)
Locates the appropriate LoggerConfig for a Logger name.LoggerConfig
Configuration. getLoggerConfig(String name)
Locates the appropriate LoggerConfig for a Logger name.LoggerConfig
LoggerConfig. getParent()
Returns the parent of this LoggerConfig.LoggerConfig
Loggers. getRoot()
LoggerConfig
AbstractConfiguration. getRootLogger()
Returns the root Logger.LoggerConfig
Configuration. 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 Map<String,LoggerConfig>
AbstractConfiguration. getLoggers()
Returns a Map of all the LoggerConfigs.Map<String,LoggerConfig>
Configuration. getLoggers()
ConcurrentMap<String,LoggerConfig>
Loggers. getMap()
Methods in org.apache.logging.log4j.core.config with parameters of type LoggerConfig Modifier and Type Method Description void
AbstractConfiguration. addLogger(String loggerName, LoggerConfig loggerConfig)
Add a loggerConfig.void
Configuration. addLogger(String name, LoggerConfig loggerConfig)
static Loggers
LoggersPlugin. createLoggers(LoggerConfig[] loggers)
Create a Loggers object to contain all the Loggers.ReliabilityStrategy
AbstractConfiguration. getReliabilityStrategy(LoggerConfig loggerConfig)
ReliabilityStrategy
Configuration. getReliabilityStrategy(LoggerConfig loggerConfig)
static ReliabilityStrategy
ReliabilityStrategyFactory. getReliabilityStrategy(LoggerConfig loggerConfig)
Returns a newReliabilityStrategy
instance based on the value of system propertylog4j.ReliabilityStrategy
.void
LoggerConfig. 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 LoggerConfig
AwaitCompletionReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)
LoggerConfig
AwaitUnconditionallyReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)
LoggerConfig
DefaultReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)
LoggerConfig
LockingReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)
LoggerConfig
ReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)
For internal use by the ReliabilityStrategy; returns the LoggerConfig to use.void
AwaitCompletionReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t)
void
AwaitCompletionReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t)
void
AwaitCompletionReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, LogEvent event)
void
AwaitUnconditionallyReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t)
void
AwaitUnconditionallyReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t)
void
AwaitUnconditionallyReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, LogEvent event)
void
DefaultReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t)
void
DefaultReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t)
void
DefaultReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, LogEvent event)
void
LocationAwareReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t)
Logs an event.void
LockingReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t)
void
LockingReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t)
void
LockingReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, LogEvent event)
void
ReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t)
Logs an event.void
ReliabilityStrategy. 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(ConcurrentMap<String,LoggerConfig> map, LoggerConfig root)
Constructor parameters in org.apache.logging.log4j.core.config with type arguments of type LoggerConfig Constructor Description Loggers(ConcurrentMap<String,LoggerConfig> map, LoggerConfig root)
-
Uses of LoggerConfig in org.apache.logging.log4j.core.jmx
Constructors in org.apache.logging.log4j.core.jmx with parameters of type LoggerConfig Constructor Description LoggerConfigAdmin(LoggerContext loggerContext, LoggerConfig loggerConfig)
Constructs a newLoggerConfigAdmin
with the specified LoggerContext and logger config.
-