Uses of Interface
org.apache.logging.log4j.Logger
-
Packages that use Logger Package Description org.apache.log4j Log4j 1.x compatibility layer.org.apache.log4j.bridge org.apache.log4j.builders org.apache.log4j.builders.appender org.apache.log4j.builders.filter org.apache.log4j.builders.layout org.apache.log4j.config Log4j 1.x compatibility layer.org.apache.log4j.helpers Log4j 1.x compatibility layer.org.apache.log4j.legacy.core org.apache.log4j.xml Log4j 1.x compatibility layer.org.apache.logging.log4j Public API for Log4j 2.org.apache.logging.log4j.core Implementation of Log4j 2.org.apache.logging.log4j.core.appender Log4j 2 Appenders.org.apache.logging.log4j.core.appender.rewrite Apache Flume Appender.org.apache.logging.log4j.core.appender.rolling Rolling File Appender and support classes.org.apache.logging.log4j.core.appender.rolling.action Support classes for the Rolling File Appender.org.apache.logging.log4j.core.appender.routing Apache Flume Appender.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.config.arbiters org.apache.logging.log4j.core.config.plugins.convert TypeConverter plugins for converter strings into various types.org.apache.logging.log4j.core.config.plugins.util Utility and manager classes for Log4j 2 plugins.org.apache.logging.log4j.core.config.plugins.validation.validators ConstraintValidator implementations for the constraint annotations.org.apache.logging.log4j.core.config.plugins.visitors Visitor classes for extracting values from a Configuration or Node corresponding to a plugin annotation.org.apache.logging.log4j.core.filter Log4j 2 Filter support.org.apache.logging.log4j.core.impl Log4j 2 private implementation classes.org.apache.logging.log4j.core.layout Log4j 2 Layout support.org.apache.logging.log4j.core.lookup Log4j 2 Lookups.org.apache.logging.log4j.core.net Log4j 2 network support.org.apache.logging.log4j.core.net.ssl Log4j 2 SSL supportorg.apache.logging.log4j.core.osgi Collection of OSGi-specific classes for bundles.org.apache.logging.log4j.core.pattern Provides classes implementing format specifiers in conversion patterns.org.apache.logging.log4j.core.script Log4j 2 Script support.org.apache.logging.log4j.core.util Log4j 2 helper classes.org.apache.logging.log4j.core.util.internal org.apache.logging.log4j.internal This package should be considered private.org.apache.logging.log4j.message Public Message Types used for Log4j 2.org.apache.logging.log4j.simple Simple logging implementation.org.apache.logging.log4j.spi Internal interfaces and classes to be used by authors of logging implementations or for internal use by API classes.org.apache.logging.log4j.status Status API for Log4j 2.org.apache.logging.log4j.tojul Java JDK java.util.logging (JUL) bridge.org.apache.logging.log4j.util Internal utility classes for the Log4j 2 API.org.apache.logging.log4j.web The classes in this package are responsible for properly initializing and deinitializing Log4j in a Java EE web application.org.apache.logging.slf4j SLF4J support. -
-
Uses of Logger in org.apache.log4j
Fields in org.apache.log4j declared as Logger Modifier and Type Field Description private Logger
Category. logger
private static Logger
WriterAppender. LOGGER
Methods in org.apache.log4j that return Logger Modifier and Type Method Description (package private) Logger
Category. getLogger()
static Logger
Hierarchy.PrivateLogManager. getLogger(java.lang.String name)
Constructors in org.apache.log4j with parameters of type Logger Constructor Description Category(Logger logger)
-
Uses of Logger in org.apache.log4j.bridge
Fields in org.apache.log4j.bridge declared as Logger Modifier and Type Field Description private static Logger
AppenderWrapper. LOGGER
-
Uses of Logger in org.apache.log4j.builders
Fields in org.apache.log4j.builders declared as Logger Modifier and Type Field Description private static Logger
AbstractBuilder. LOGGER
private static Logger
BuilderManager. LOGGER
-
Uses of Logger in org.apache.log4j.builders.appender
Fields in org.apache.log4j.builders.appender declared as Logger Modifier and Type Field Description private static Logger
AsyncAppenderBuilder. LOGGER
private static Logger
ConsoleAppenderBuilder. LOGGER
private static Logger
DailyRollingFileAppenderBuilder. LOGGER
private static Logger
EnhancedRollingFileAppenderBuilder. LOGGER
private static Logger
FileAppenderBuilder. LOGGER
private static Logger
RewriteAppenderBuilder. LOGGER
private static Logger
RollingFileAppenderBuilder. LOGGER
static Logger
SocketAppenderBuilder. LOGGER
private static Logger
SyslogAppenderBuilder. LOGGER
-
Uses of Logger in org.apache.log4j.builders.filter
Fields in org.apache.log4j.builders.filter declared as Logger Modifier and Type Field Description private static Logger
StringMatchFilterBuilder. LOGGER
-
Uses of Logger in org.apache.log4j.builders.layout
Fields in org.apache.log4j.builders.layout declared as Logger Modifier and Type Field Description private static Logger
PatternLayoutBuilder. LOGGER
-
Uses of Logger in org.apache.log4j.config
Fields in org.apache.log4j.config declared as Logger Modifier and Type Field Description private static Logger
PropertySetter. LOGGER
-
Uses of Logger in org.apache.log4j.helpers
Fields in org.apache.log4j.helpers declared as Logger Modifier and Type Field Description private static Logger
OptionConverter. LOGGER
-
Uses of Logger in org.apache.log4j.legacy.core
Methods in org.apache.log4j.legacy.core that return Logger Modifier and Type Method Description static Logger
CategoryUtil. getParent(Logger logger)
Delegates toLogger.getParent()
if appropriate.Methods in org.apache.log4j.legacy.core with parameters of type Logger Modifier and Type Method Description static void
CategoryUtil. addAppender(Logger logger, Appender appender)
Adds an appender to the logger.private static Logger
CategoryUtil. asCore(Logger logger)
private static <T> T
CategoryUtil. get(Logger logger, java.util.function.Supplier<T> run, T defaultValue)
static java.util.Map<java.lang.String,Appender>
CategoryUtil. getAppenders(Logger logger)
Gets the appenders attached directly to this logger.private static java.util.Map<java.lang.String,Appender>
CategoryUtil. getDirectAppenders(Logger logger)
private static java.util.Optional<LoggerConfig>
CategoryUtil. getExactLoggerConfig(Logger logger)
static java.util.Iterator<Filter>
CategoryUtil. getFilters(Logger logger)
Delegates toLogger.getFilters()
if appropriate.static LoggerContext
CategoryUtil. getLoggerContext(Logger logger)
Delegates toLogger.getContext()
if appropriate.static Logger
CategoryUtil. getParent(Logger logger)
Delegates toLogger.getParent()
if appropriate.static boolean
CategoryUtil. isAdditive(Logger logger)
Delegates toLogger.isAdditive()
if appropriate.private static boolean
CategoryUtil. isCore(Logger logger)
static void
CategoryUtil. log(Logger logger, LogEvent event)
Sends the event to all appenders directly connected with the logger.static void
CategoryUtil. setAdditivity(Logger logger, boolean additive)
Delegates toLogger.setAdditive(boolean)
if appropriate.static void
CategoryUtil. setLevel(Logger logger, Level level)
Delegates toLogger.setLevel(Level)
if appropriate. -
Uses of Logger in org.apache.log4j.xml
Fields in org.apache.log4j.xml declared as Logger Modifier and Type Field Description private static Logger
Log4jEntityResolver. LOGGER
private static Logger
XmlConfiguration. LOGGER
private static Logger
XmlConfiguration.SAXErrorHandler. LOGGER
private static Logger
XmlConfigurationFactory. LOGGER
-
Uses of Logger in org.apache.logging.log4j
Fields in org.apache.logging.log4j declared as Logger Modifier and Type Field Description private static Logger
LogManager. LOGGER
Methods in org.apache.logging.log4j that return Logger Modifier and Type Method Description static Logger
LogManager. getFormatterLogger()
Returns a formatter Logger using the fully qualified name of the calling Class as the Logger name.static Logger
LogManager. getFormatterLogger(java.lang.Class<?> clazz)
Returns a formatter Logger using the fully qualified name of the Class as the Logger name.static Logger
LogManager. getFormatterLogger(java.lang.Object value)
Returns a formatter Logger using the fully qualified name of the value's Class as the Logger name.static Logger
LogManager. getFormatterLogger(java.lang.String name)
Returns a formatter Logger with the specified name.static Logger
LogManager. getLogger()
Returns a Logger with the name of the calling class.static Logger
LogManager. getLogger(java.lang.Class<?> clazz)
Returns a Logger using the fully qualified name of the Class as the Logger name.static Logger
LogManager. getLogger(java.lang.Class<?> clazz, MessageFactory messageFactory)
Returns a Logger using the fully qualified name of the Class as the Logger name.static Logger
LogManager. getLogger(java.lang.Object value)
Returns a Logger using the fully qualified class name of the value as the Logger name.static Logger
LogManager. getLogger(java.lang.Object value, MessageFactory messageFactory)
Returns a Logger using the fully qualified class name of the value as the Logger name.static Logger
LogManager. getLogger(java.lang.String name)
Returns a Logger with the specified name.protected static Logger
LogManager. getLogger(java.lang.String fqcn, java.lang.String name)
Returns a Logger with the specified name.static Logger
LogManager. getLogger(java.lang.String name, MessageFactory messageFactory)
Returns a Logger with the specified name.static Logger
LogManager. getLogger(MessageFactory messageFactory)
Returns a Logger with the name of the calling class.static Logger
LogManager. getRootLogger()
Returns the root logger. -
Uses of Logger in org.apache.logging.log4j.core
Classes in org.apache.logging.log4j.core that implement Logger Modifier and Type Class Description class
Logger
The core implementation of theLogger
interface.Fields in org.apache.logging.log4j.core declared as Logger Modifier and Type Field Description protected static Logger
AbstractLifeCycle. LOGGER
Allow subclasses access to the status logger without creating another instance.Methods in org.apache.logging.log4j.core that return Logger Modifier and Type Method Description protected static Logger
AbstractLifeCycle. getStatusLogger()
Gets the status logger. -
Uses of Logger in org.apache.logging.log4j.core.appender
Fields in org.apache.logging.log4j.core.appender declared as Logger Modifier and Type Field Description protected static Logger
AbstractManager. LOGGER
Allow subclasses access to the status logger without creating another instance.private static Logger
AsyncAppenderEventDispatcher. LOGGER
private static Logger
DefaultErrorHandler. LOGGER
private static Logger
FailoversPlugin. LOGGER
-
Uses of Logger in org.apache.logging.log4j.core.appender.rewrite
Fields in org.apache.logging.log4j.core.appender.rewrite declared as Logger Modifier and Type Field Description protected static Logger
MapRewritePolicy. LOGGER
Allow subclasses access to the status logger without creating another instance.protected static Logger
PropertiesRewritePolicy. LOGGER
Allows subclasses access to the status logger without creating another instance. -
Uses of Logger in org.apache.logging.log4j.core.appender.rolling
Fields in org.apache.logging.log4j.core.appender.rolling declared as Logger Modifier and Type Field Description protected static Logger
AbstractRolloverStrategy. LOGGER
Allow subclasses access to the status logger without creating another instance.private static Logger
FileSize. LOGGER
protected static Logger
PatternProcessor. LOGGER
-
Uses of Logger in org.apache.logging.log4j.core.appender.rolling.action
Fields in org.apache.logging.log4j.core.appender.rolling.action declared as Logger Modifier and Type Field Description protected static Logger
AbstractAction. LOGGER
Allows subclasses access to the status logger without creating another instance.private static Logger
DeletingVisitor. LOGGER
private static Logger
IfAccumulatedFileCount. LOGGER
private static Logger
IfAccumulatedFileSize. LOGGER
private static Logger
IfFileName. LOGGER
private static Logger
IfLastModified. LOGGER
private static Logger
ScriptCondition. LOGGER
private static Logger
SortingVisitor. LOGGER
-
Uses of Logger in org.apache.logging.log4j.core.appender.routing
Fields in org.apache.logging.log4j.core.appender.routing declared as Logger Modifier and Type Field Description private static Logger
Route. LOGGER
private static Logger
Routes. LOGGER
-
Uses of Logger in org.apache.logging.log4j.core.async
Classes in org.apache.logging.log4j.core.async that implement Logger Modifier and Type Class Description class
AsyncLogger
AsyncLogger is a logger designed for high throughput and low latency logging.Fields in org.apache.logging.log4j.core.async declared as Logger Modifier and Type Field Description private static Logger
AsyncQueueFullPolicyFactory. LOGGER
protected static Logger
AsyncWaitStrategyFactoryConfig. LOGGER
Status logger for internal logging.private static Logger
DefaultAsyncWaitStrategyFactory. LOGGER
private static Logger
DiscardingAsyncQueueFullPolicy. LOGGER
private static Logger
DisruptorUtil. LOGGER
-
Uses of Logger in org.apache.logging.log4j.core.config
Fields in org.apache.logging.log4j.core.config declared as Logger Modifier and Type Field Description private static Logger
AppenderRef. LOGGER
protected static Logger
ConfigurationFactory. LOGGER
Allows subclasses access to the status logger without creating another instance.private static Logger
ConfigurationScheduler. LOGGER
private static Logger
Configurator. LOGGER
private Logger
HttpWatcher. LOGGER
private static Logger
Property. LOGGER
Methods in org.apache.logging.log4j.core.config that return Logger Modifier and Type Method Description static Logger
Configurator. setLevel(Logger logger, Level level)
Sets a logger's level.Methods in org.apache.logging.log4j.core.config with parameters of type Logger Modifier and Type Method Description static Logger
Configurator. setLevel(Logger logger, Level level)
Sets a logger's level. -
Uses of Logger in org.apache.logging.log4j.core.config.arbiters
Fields in org.apache.logging.log4j.core.config.arbiters declared as Logger Modifier and Type Field Description private static Logger
ScriptArbiter.Builder. LOGGER
-
Uses of Logger in org.apache.logging.log4j.core.config.plugins.convert
Fields in org.apache.logging.log4j.core.config.plugins.convert declared as Logger Modifier and Type Field Description private static Logger
Base64Converter. LOGGER
private static Logger
TypeConverterRegistry. LOGGER
private static Logger
TypeConverters. LOGGER
-
Uses of Logger in org.apache.logging.log4j.core.config.plugins.util
Fields in org.apache.logging.log4j.core.config.plugins.util declared as Logger Modifier and Type Field Description private static Logger
PluginBuilder. LOGGER
private static Logger
PluginManager. LOGGER
private static Logger
PluginRegistry. LOGGER
private static Logger
ResolverUtil. LOGGER
An instance of Log to use for logging in this class. -
Uses of Logger in org.apache.logging.log4j.core.config.plugins.validation.validators
Fields in org.apache.logging.log4j.core.config.plugins.validation.validators declared as Logger Modifier and Type Field Description private static Logger
NotBlankValidator. LOGGER
private static Logger
RequiredValidator. LOGGER
private static Logger
ValidHostValidator. LOGGER
private static Logger
ValidPortValidator. LOGGER
-
Uses of Logger in org.apache.logging.log4j.core.config.plugins.visitors
Fields in org.apache.logging.log4j.core.config.plugins.visitors declared as Logger Modifier and Type Field Description protected static Logger
AbstractPluginVisitor. LOGGER
Status logger.private static Logger
PluginVisitors. LOGGER
-
Uses of Logger in org.apache.logging.log4j.core.filter
Fields in org.apache.logging.log4j.core.filter declared as Logger Modifier and Type Field Description private static Logger
ScriptFilter. logger
-
Uses of Logger in org.apache.logging.log4j.core.impl
Fields in org.apache.logging.log4j.core.impl declared as Logger Modifier and Type Field Description private static Logger
ThreadContextDataInjector. LOGGER
-
Uses of Logger in org.apache.logging.log4j.core.layout
Fields in org.apache.logging.log4j.core.layout declared as Logger Modifier and Type Field Description protected static Logger
AbstractLayout. LOGGER
Allow subclasses access to the status logger without creating another instance.private static Logger
LevelPatternSelector. LOGGER
private static Logger
MarkerPatternSelector. LOGGER
private static Logger
ScriptPatternSelector. LOGGER
-
Uses of Logger in org.apache.logging.log4j.core.lookup
Fields in org.apache.logging.log4j.core.lookup declared as Logger Modifier and Type Field Description private static Logger
DateLookup. LOGGER
private static Logger
Interpolator. LOGGER
private static Logger
JndiLookup. LOGGER
private static Logger
Log4jLookup. LOGGER
private static Logger
ResourceBundleLookup. LOGGER
private static Logger
SystemPropertiesLookup. LOGGER
-
Uses of Logger in org.apache.logging.log4j.core.net
Fields in org.apache.logging.log4j.core.net declared as Logger Modifier and Type Field Description protected static Logger
DatagramOutputStream. LOGGER
Allow subclasses access to the status logger without creating another instance.protected static Logger
MulticastDnsAdvertiser. LOGGER
Status logger. -
Uses of Logger in org.apache.logging.log4j.core.net.ssl
Fields in org.apache.logging.log4j.core.net.ssl declared as Logger Modifier and Type Field Description private static Logger
SslConfigurationFactory. LOGGER
-
Uses of Logger in org.apache.logging.log4j.core.osgi
Fields in org.apache.logging.log4j.core.osgi declared as Logger Modifier and Type Field Description private static Logger
Activator. LOGGER
-
Uses of Logger in org.apache.logging.log4j.core.pattern
Fields in org.apache.logging.log4j.core.pattern declared as Logger Modifier and Type Field Description protected static Logger
AbstractPatternConverter. LOGGER
Allow subclasses access to the status logger.private static Logger
PatternParser. LOGGER
private static Logger
RegexReplacement. LOGGER
-
Uses of Logger in org.apache.logging.log4j.core.script
Fields in org.apache.logging.log4j.core.script declared as Logger Modifier and Type Field Description private static Logger
ScriptManager. logger
protected static Logger
AbstractScript. LOGGER
-
Uses of Logger in org.apache.logging.log4j.core.util
Fields in org.apache.logging.log4j.core.util declared as Logger Modifier and Type Field Description private static Logger
WatchManager. logger
private static Logger
BasicAuthorizationProvider. LOGGER
protected static Logger
DefaultShutdownCallbackRegistry. LOGGER
Status logger.private static Logger
ExecutorServices. LOGGER
private static Logger
FileUtils. LOGGER
private static Logger
Loader. LOGGER
private static Logger
NetUtils. LOGGER
private static Logger
OptionConverter. LOGGER
private static Logger
Source. LOGGER
private static Logger
UuidUtil. LOGGER
private static Logger
WatcherFactory. LOGGER
-
Uses of Logger in org.apache.logging.log4j.core.util.internal
Fields in org.apache.logging.log4j.core.util.internal declared as Logger Modifier and Type Field Description private static Logger
HttpInputStreamUtil. LOGGER
-
Uses of Logger in org.apache.logging.log4j.internal
Fields in org.apache.logging.log4j.internal declared as Logger Modifier and Type Field Description private static Logger
DefaultLogBuilder. LOGGER
-
Uses of Logger in org.apache.logging.log4j.message
Fields in org.apache.logging.log4j.message declared as Logger Modifier and Type Field Description private static Logger
MessageFormatMessage. LOGGER
private static Logger
StringFormattedMessage. LOGGER
-
Uses of Logger in org.apache.logging.log4j.simple
Classes in org.apache.logging.log4j.simple that implement Logger Modifier and Type Class Description class
SimpleLogger
This is the default logger that is used when no suitable logging implementation is available. -
Uses of Logger in org.apache.logging.log4j.spi
Subinterfaces of Logger in org.apache.logging.log4j.spi Modifier and Type Interface Description interface
ExtendedLogger
Extends theLogger
interface with methods that facilitate implementing or extendingLogger
s.Classes in org.apache.logging.log4j.spi that implement Logger Modifier and Type Class Description class
AbstractLogger
Base implementation of a Logger.class
ExtendedLoggerWrapper
Wrapper class that exposes the protected AbstractLogger methods to support wrapped loggers.Fields in org.apache.logging.log4j.spi declared as Logger Modifier and Type Field Description private static Logger
Provider. LOGGER
private static Logger
ThreadContextMapFactory. LOGGER
Methods in org.apache.logging.log4j.spi that return types with arguments of type Logger Modifier and Type Method Description default LoggerRegistry<? extends Logger>
LoggerContext. getLoggerRegistry()
Gets the LoggerRegistry. -
Uses of Logger in org.apache.logging.log4j.status
Classes in org.apache.logging.log4j.status that implement Logger Modifier and Type Class Description class
StatusLogger
Records events that occur in the logging system.Fields in org.apache.logging.log4j.status declared as Logger Modifier and Type Field Description private Logger
StatusConsoleListener. logger
-
Uses of Logger in org.apache.logging.log4j.tojul
Classes in org.apache.logging.log4j.tojul that implement Logger Modifier and Type Class Description (package private) class
JULLogger
Implementation ofLogger
that's backed by aLogger
. -
Uses of Logger in org.apache.logging.log4j.util
Fields in org.apache.logging.log4j.util declared as Logger Modifier and Type Field Description private Logger
ServiceLoaderUtil.ServiceLoaderSpliterator. logger
private static Logger
ProviderUtil. LOGGER
private static Logger
Unbox. LOGGER
-
Uses of Logger in org.apache.logging.log4j.web
Fields in org.apache.logging.log4j.web declared as Logger Modifier and Type Field Description private static Logger
Log4jServletContextListener. LOGGER
private static Logger
Log4jServletFilter. LOGGER
private static Logger
Log4jShutdownOnContextDestroyedListener. LOGGER
-
Uses of Logger in org.apache.logging.slf4j
Classes in org.apache.logging.slf4j that implement Logger Modifier and Type Class Description class
SLF4JLogger
Fields in org.apache.logging.slf4j declared as Logger Modifier and Type Field Description private static Logger
Log4jMarkerFactory. LOGGER
private static Logger
SLF4JLogBuilder. LOGGER
-