Uses of Class
org.apache.logging.log4j.core.Logger
Package
Description
Implementation of Log4j 2.
Provides Asynchronous Logger classes and interfaces for low-latency logging.
Configuration of Log4j 2.
Log4j 2 Filter support.
-
Uses of Logger in org.apache.logging.log4j.core
Modifier and TypeMethodDescriptionGets a Logger from the Context.LoggerContext.getLogger
(String name, MessageFactory messageFactory) Obtains a Logger from the Context.Logger.getParent()
This method is only used for 1.x compatibility.LoggerContext.getRootLogger()
Gets the root logger.protected Logger
LoggerContext.newInstance
(LoggerContext ctx, String name, MessageFactory messageFactory) Modifier and TypeMethodDescriptionLoggerContext.getLoggerRegistry()
Gets the LoggerRegistry.LoggerContext.getLoggers()
Gets a collection of the current loggers.Modifier and TypeMethodDescriptionFilter an event.default Filter.Result
Filter an event.Filter an event.Filter an event.Filter an event.Filter.filter
(Logger logger, Level level, Marker marker, String message, Object p0, Object p1, Object p2) Filter an event.Filter.filter
(Logger logger, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3) Filter an event.Filter.filter
(Logger logger, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4) Filter an event.Filter.filter
(Logger logger, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) Filter an event.Filter.filter
(Logger logger, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) Filter an event.Filter.filter
(Logger logger, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) Filter an event.Filter.filter
(Logger logger, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) Filter an event.Filter.filter
(Logger logger, Level level, Marker marker, String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) Filter an event.Filter an event. -
Uses of Logger in org.apache.logging.log4j.core.async
Modifier and TypeClassDescriptionclass
AsyncLogger is a logger designed for high throughput and low latency logging.Modifier and TypeMethodDescriptionprotected Logger
AsyncLoggerContext.newInstance
(LoggerContext ctx, String name, MessageFactory messageFactory) -
Uses of Logger in org.apache.logging.log4j.core.config
Modifier and TypeMethodDescriptionvoid
AbstractConfiguration.addLoggerAppender
(Logger logger, Appender appender) Associates an Appender with a LoggerConfig.void
Configuration.addLoggerAppender
(Logger logger, Appender appender) void
AbstractConfiguration.addLoggerFilter
(Logger logger, Filter filter) Associates a Filter with a LoggerConfig.void
Configuration.addLoggerFilter
(Logger logger, Filter filter) void
AbstractConfiguration.setLoggerAdditive
(Logger logger, boolean additive) Marks a LoggerConfig as additive.void
Configuration.setLoggerAdditive
(Logger logger, boolean additive) -
Uses of Logger in org.apache.logging.log4j.core.filter
Modifier and TypeMethodDescriptionAppender Filter method.Appender Filter method.Appender Filter method.Appender Filter method.AbstractFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2) Appender Filter method.AbstractFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3) Appender Filter method.AbstractFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4) Appender Filter method.AbstractFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) Appender Filter method.AbstractFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) Appender Filter method.AbstractFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) Appender Filter method.AbstractFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) Appender Filter method.AbstractFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) Appender Filter method.Appender Filter method.BurstFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2) BurstFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3) BurstFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4) BurstFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) BurstFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) BurstFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) BurstFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) BurstFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) Filter an event.Filter an event.Filter an event.Filter an event.CompositeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2) Filter an event.CompositeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3) Filter an event.CompositeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4) Filter an event.CompositeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) Filter an event.CompositeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) Filter an event.CompositeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) Filter an event.CompositeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) Filter an event.CompositeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) Filter an event.Filter an event.DenyAllFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2) DenyAllFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3) DenyAllFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4) DenyAllFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) DenyAllFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) DenyAllFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) DenyAllFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) DenyAllFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) DynamicThresholdFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object... params) DynamicThresholdFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1) DynamicThresholdFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2) DynamicThresholdFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3) DynamicThresholdFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4) DynamicThresholdFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) DynamicThresholdFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) DynamicThresholdFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) DynamicThresholdFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) DynamicThresholdFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) LevelMatchFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1) LevelMatchFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2) LevelMatchFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3) LevelMatchFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4) LevelMatchFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) LevelMatchFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) LevelMatchFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) LevelMatchFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) LevelMatchFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) LevelRangeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1) LevelRangeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2) LevelRangeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3) LevelRangeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4) LevelRangeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) LevelRangeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) LevelRangeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) LevelRangeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) LevelRangeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) MapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2) MapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3) MapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4) MapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) MapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) MapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) MapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) MapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) MarkerFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2) MarkerFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3) MarkerFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4) MarkerFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) MarkerFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) MarkerFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) MarkerFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) MarkerFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) MutableThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, Object msg, Throwable t) MutableThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0) MutableThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object... params) MutableThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1) MutableThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2) MutableThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3) MutableThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4) MutableThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) MutableThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) MutableThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) MutableThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) MutableThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) MutableThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, Message msg, Throwable t) NoMarkerFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2) NoMarkerFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3) NoMarkerFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4) NoMarkerFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) NoMarkerFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) NoMarkerFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) NoMarkerFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) NoMarkerFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) StringMatchFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1) StringMatchFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2) StringMatchFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3) StringMatchFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4) StringMatchFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) StringMatchFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) StringMatchFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) StringMatchFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) StringMatchFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) ThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object... params) ThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1) ThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2) ThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3) ThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4) ThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) ThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) ThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) ThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) ThreadContextMapFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) ThresholdFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2) ThresholdFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3) ThresholdFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4) ThresholdFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) ThresholdFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) ThresholdFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) ThresholdFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) ThresholdFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) TimeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2) TimeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3) TimeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4) TimeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) TimeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) TimeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) TimeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) TimeFilter.filter
(Logger logger, Level level, Marker marker, String msg, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)