Uses of Interface
org.apache.logging.log4j.Logger
Packages that use Logger
Package
Description
Log4j 1.x compatibility layer.
Log4j 1.x compatibility layer.
Log4j 1.x compatibility layer.
Log4j 1.x compatibility layer.
Public API for Log4j 2.
Implementation of Log4j 2.
Log4j 2 Appenders.
The classes in this package and sub packages provide appenders for various types of databases and methods for
accessing databases.
The JDBC Appender supports writing log events to a relational database using standard JDBC connections.
Apache Flume Appender.
Rolling File Appender and support classes.
Support classes for the Rolling File Appender.
Apache Flume Appender.
Provides Asynchronous Logger classes and interfaces for low-latency logging.
Configuration of Log4j 2.
TypeConverter plugins for converter strings into various types.
Utility and manager classes for Log4j 2 plugins.
ConstraintValidator implementations for the constraint annotations.
Visitor classes for extracting values from a Configuration or Node corresponding to a plugin annotation.
Log4j 2 Filter support.
Log4j 2 private implementation classes.
Log4j 2 Layout support.
Log4j 2 Lookups.
Log4j 2 network support.
Log4j 2 SSL support
Collection of OSGi-specific classes for bundles.
Provides classes implementing format specifiers in conversion patterns.
Log4j 2 Script support.
Log4j 2 helper classes.
The classes in this package contain the Apache CouchDB provider for the NoSQL Appender.
This package should be considered private.
See
IoBuilder
.Public Message Types used for Log4j 2.
Simple logging implementation.
Internal interfaces and classes to be used by authors of logging implementations or for internal use by
API classes.
Status API for Log4j 2.
Classes (JSP tags) to enable logging in JSPs without using Java scripting.
Java JDK java.util.logging (JUL) bridge.
Internal utility classes for the Log4j 2 API.
The classes in this package are responsible for properly initializing and deinitializing Log4j in a Java EE web
application.
SLF4J support.
-
Uses of Logger in org.apache.log4j
Fields in org.apache.log4j declared as LoggerModifier and TypeFieldDescriptionprivate final Logger
Category.logger
private static final Logger
WriterAppender.LOGGER
Methods in org.apache.log4j that return LoggerConstructors in org.apache.log4j with parameters of type Logger -
Uses of Logger in org.apache.log4j.bridge
Fields in org.apache.log4j.bridge declared as Logger -
Uses of Logger in org.apache.log4j.builders
Fields in org.apache.log4j.builders declared as Logger -
Uses of Logger in org.apache.log4j.builders.appender
Fields in org.apache.log4j.builders.appender declared as LoggerModifier and TypeFieldDescriptionprivate static final Logger
AsyncAppenderBuilder.LOGGER
private static final Logger
ConsoleAppenderBuilder.LOGGER
private static final Logger
DailyRollingFileAppenderBuilder.LOGGER
private static final Logger
FileAppenderBuilder.LOGGER
private static final Logger
RewriteAppenderBuilder.LOGGER
private static final Logger
RollingFileAppenderBuilder.LOGGER
static final Logger
SocketAppenderBuilder.LOGGER
private static final Logger
SyslogAppenderBuilder.LOGGER
-
Uses of Logger in org.apache.log4j.builders.filter
Fields in org.apache.log4j.builders.filter declared as Logger -
Uses of Logger in org.apache.log4j.builders.layout
Fields in org.apache.log4j.builders.layout declared as Logger -
Uses of Logger in org.apache.log4j.config
Fields in org.apache.log4j.config declared as Logger -
Uses of Logger in org.apache.log4j.helpers
Fields in org.apache.log4j.helpers declared as Logger -
Uses of Logger in org.apache.log4j.legacy.core
Methods in org.apache.log4j.legacy.core that return LoggerMethods in org.apache.log4j.legacy.core with parameters of type LoggerModifier and TypeMethodDescriptionprivate static Logger
private static <T> T
CategoryUtil.getAppenders
(Logger logger) Delegates toLogger.getAppenders()
if appropriate.CategoryUtil.getFilters
(Logger logger) Delegates toLogger.getFilters()
if appropriate.static LoggerContext
CategoryUtil.getLoggerContext
(Logger logger) Delegates toLogger.getContext()
if appropriate.static Logger
Delegates toLogger.getParent()
if appropriate.static boolean
CategoryUtil.isAdditive
(Logger logger) Delegates toLogger.isAdditive()
if appropriate.private static boolean
static void
CategoryUtil.setAdditivity
(Logger logger, boolean additive) Delegates toLogger.setAdditive(boolean)
if appropriate.static void
Delegates toLogger.setLevel(Level)
if appropriate. -
Uses of Logger in org.apache.log4j.or.jms
Fields in org.apache.log4j.or.jms declared as Logger -
Uses of Logger in org.apache.log4j.xml
Fields in org.apache.log4j.xml declared as Logger -
Uses of Logger in org.apache.logging.log4j
Fields in org.apache.logging.log4j declared as LoggerMethods in org.apache.logging.log4j that return LoggerModifier and TypeMethodDescriptionstatic Logger
LogManager.getFormatterLogger()
Returns a formatter Logger using the fully qualified name of the calling Class as the Logger name.static Logger
LogManager.getFormatterLogger
(Class<?> clazz) Returns a formatter Logger using the fully qualified name of the Class as the Logger name.static Logger
LogManager.getFormatterLogger
(Object value) Returns a formatter Logger using the fully qualified name of the value's Class as the Logger name.static Logger
LogManager.getFormatterLogger
(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
Returns a Logger using the fully qualified name of the Class as the Logger name.static Logger
LogManager.getLogger
(Class<?> clazz, MessageFactory messageFactory) Returns a Logger using the fully qualified name of the Class as the Logger name.static Logger
Returns a Logger using the fully qualified class name of the value as the Logger name.static Logger
LogManager.getLogger
(Object value, MessageFactory messageFactory) Returns a Logger using the fully qualified class name of the value as the Logger name.static Logger
Returns a Logger with the specified name.protected static Logger
Returns a Logger with the specified name.static Logger
LogManager.getLogger
(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 LoggerFields in org.apache.logging.log4j.core declared as LoggerModifier and TypeFieldDescriptionprotected static final Logger
AbstractLifeCycle.LOGGER
Allow subclasses access to the status logger without creating another instance.Methods in org.apache.logging.log4j.core that return LoggerModifier and TypeMethodDescriptionprotected 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 LoggerModifier and TypeFieldDescriptionprotected static final Logger
AbstractManager.LOGGER
Allow subclasses access to the status logger without creating another instance.private static final Logger
AsyncAppenderEventDispatcher.LOGGER
private static final Logger
DefaultErrorHandler.LOGGER
private static final Logger
FailoversPlugin.LOGGER
-
Uses of Logger in org.apache.logging.log4j.core.appender.db
Fields in org.apache.logging.log4j.core.appender.db declared as Logger -
Uses of Logger in org.apache.logging.log4j.core.appender.db.jdbc
Fields in org.apache.logging.log4j.core.appender.db.jdbc declared as LoggerModifier and TypeFieldDescriptionprivate static final Logger
AbstractDriverManagerConnectionSource.LOGGER
private static final Logger
ColumnConfig.LOGGER
private static final Logger
DataSourceConnectionSource.LOGGER
private static final Logger
FactoryMethodConnectionSource.LOGGER
Methods in org.apache.logging.log4j.core.appender.db.jdbc that return Logger -
Uses of Logger in org.apache.logging.log4j.core.appender.rewrite
Fields in org.apache.logging.log4j.core.appender.rewrite declared as LoggerModifier and TypeFieldDescriptionprotected static final Logger
MapRewritePolicy.LOGGER
Allow subclasses access to the status logger without creating another instance.protected static final 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 -
Uses of Logger in org.apache.logging.log4j.core.appender.rolling.action
Fields in org.apache.logging.log4j.core.appender.rolling.action declared as LoggerModifier and TypeFieldDescriptionprotected static final Logger
AbstractAction.LOGGER
Allows subclasses access to the status logger without creating another instance.private static final Logger
DeletingVisitor.LOGGER
private static final Logger
IfAccumulatedFileCount.LOGGER
private static final Logger
IfAccumulatedFileSize.LOGGER
private static final Logger
IfFileName.LOGGER
private static final Logger
IfLastModified.LOGGER
private static Logger
ScriptCondition.LOGGER
private static final 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 -
Uses of Logger in org.apache.logging.log4j.core.async
Classes in org.apache.logging.log4j.core.async that implement LoggerModifier and TypeClassDescriptionclass
AsyncLogger is a logger designed for high throughput and low latency logging.Fields in org.apache.logging.log4j.core.async declared as Logger -
Uses of Logger in org.apache.logging.log4j.core.config
Fields in org.apache.logging.log4j.core.config declared as LoggerModifier and TypeFieldDescriptionprivate static final Logger
AppenderRef.LOGGER
protected static final Logger
ConfigurationFactory.LOGGER
Allows subclasses access to the status logger without creating another instance.private static final Logger
ConfigurationScheduler.LOGGER
private static final Logger
Configurator.LOGGER
private Logger
HttpWatcher.LOGGER
private static final Logger
Property.LOGGER
Methods in org.apache.logging.log4j.core.config that return LoggerMethods in org.apache.logging.log4j.core.config with parameters of type Logger -
Uses of Logger in org.apache.logging.log4j.core.config.arbiters
Fields in org.apache.logging.log4j.core.config.arbiters declared as 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 -
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 -
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 -
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 -
Uses of Logger in org.apache.logging.log4j.core.filter
Fields in org.apache.logging.log4j.core.filter declared as Logger -
Uses of Logger in org.apache.logging.log4j.core.impl
Fields in org.apache.logging.log4j.core.impl declared as Logger -
Uses of Logger in org.apache.logging.log4j.core.layout
Fields in org.apache.logging.log4j.core.layout declared as LoggerModifier and TypeFieldDescriptionprotected static final 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 LoggerModifier and TypeFieldDescriptionprivate static final Logger
DateLookup.LOGGER
private static final Logger
Interpolator.LOGGER
private static final Logger
JndiLookup.LOGGER
private static final Logger
Log4jLookup.LOGGER
private static final Logger
ResourceBundleLookup.LOGGER
private static final Logger
SystemPropertiesLookup.LOGGER
-
Uses of Logger in org.apache.logging.log4j.core.net
Fields in org.apache.logging.log4j.core.net declared as Logger -
Uses of Logger in org.apache.logging.log4j.core.net.ssl
Fields in org.apache.logging.log4j.core.net.ssl declared as Logger -
Uses of Logger in org.apache.logging.log4j.core.osgi
Fields in org.apache.logging.log4j.core.osgi declared as Logger -
Uses of Logger in org.apache.logging.log4j.core.pattern
Fields in org.apache.logging.log4j.core.pattern declared as Logger -
Uses of Logger in org.apache.logging.log4j.core.script
Fields in org.apache.logging.log4j.core.script declared as Logger -
Uses of Logger in org.apache.logging.log4j.core.util
Fields in org.apache.logging.log4j.core.util declared as LoggerModifier and TypeFieldDescriptionprivate static Logger
WatchManager.logger
private static Logger
BasicAuthorizationProvider.LOGGER
protected static final Logger
DefaultShutdownCallbackRegistry.LOGGER
Status logger.private static final Logger
ExecutorServices.LOGGER
private static final Logger
FileUtils.LOGGER
private static final Logger
Loader.LOGGER
private static final Logger
NetUtils.LOGGER
private static final Logger
OptionConverter.LOGGER
private static final Logger
UuidUtil.LOGGER
private static Logger
WatcherFactory.LOGGER
-
Uses of Logger in org.apache.logging.log4j.couchdb
Fields in org.apache.logging.log4j.couchdb declared as Logger -
Uses of Logger in org.apache.logging.log4j.docker
Fields in org.apache.logging.log4j.docker declared as Logger -
Uses of Logger in org.apache.logging.log4j.internal
Fields in org.apache.logging.log4j.internal declared as LoggerModifier and TypeFieldDescriptionprivate final Logger
DefaultLogBuilder.logger
private static final Logger
DefaultLogBuilder.LOGGER
Constructors in org.apache.logging.log4j.internal with parameters of type LoggerModifierConstructorDescriptionDefaultLogBuilder
(Logger logger) DefaultLogBuilder
(Logger logger, Level level) -
Uses of Logger in org.apache.logging.log4j.io
Methods in org.apache.logging.log4j.io with parameters of type LoggerConstructors in org.apache.logging.log4j.io with parameters of type Logger -
Uses of Logger in org.apache.logging.log4j.jul
Classes in org.apache.logging.log4j.jul that implement LoggerModifier and TypeClassDescription(package private) class
Wrapper class to ensure proper FQCN support in Logger calls.Fields in org.apache.logging.log4j.jul declared as LoggerModifier and TypeFieldDescriptionprivate static final Logger
LevelTranslator.LOGGER
private static final Logger
LogManager.LOGGER
private static final Logger
Log4jBridgeHandler.SLOGGER
Methods in org.apache.logging.log4j.jul that return LoggerModifier and TypeMethodDescriptionprivate Logger
Log4jBridgeHandler.getLog4jLogger
(LogRecord record) Return the log4j-Logger instance that will be used for logging. -
Uses of Logger in org.apache.logging.log4j.layout.template.json.resolver
Fields in org.apache.logging.log4j.layout.template.json.resolver declared as Logger -
Uses of Logger in org.apache.logging.log4j.layout.template.json.util
Fields in org.apache.logging.log4j.layout.template.json.util declared as Logger -
Uses of Logger in org.apache.logging.log4j.message
Fields in org.apache.logging.log4j.message declared as Logger -
Uses of Logger in org.apache.logging.log4j.simple
Classes in org.apache.logging.log4j.simple that implement LoggerModifier and TypeClassDescriptionclass
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.spiModifier and TypeInterfaceDescriptioninterface
Extends theLogger
interface with methods that facilitate implementing or extendingLogger
s.Classes in org.apache.logging.log4j.spi that implement LoggerModifier and TypeClassDescriptionclass
Base implementation of a Logger.class
Wrapper class that exposes the protected AbstractLogger methods to support wrapped loggers.Fields in org.apache.logging.log4j.spi declared as LoggerModifier and TypeFieldDescriptionprivate static final Logger
Provider.LOGGER
private static final Logger
ThreadContextMapFactory.LOGGER
Methods in org.apache.logging.log4j.spi that return types with arguments of type LoggerModifier and TypeMethodDescriptiondefault 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 LoggerModifier and TypeClassDescriptionfinal class
Records events that occur in the logging system. -
Uses of Logger in org.apache.logging.log4j.taglib
Classes in org.apache.logging.log4j.taglib that implement LoggerModifier and TypeClassDescription(package private) class
The bridge between the tag library and the Log4j API ensures that the source information for log events is the JSP Servlet and not one of the taglib classes. -
Uses of Logger in org.apache.logging.log4j.tojul
Classes in org.apache.logging.log4j.tojul that implement Logger -
Uses of Logger in org.apache.logging.log4j.util
Fields in org.apache.logging.log4j.util declared as Logger -
Uses of Logger in org.apache.logging.log4j.web
Fields in org.apache.logging.log4j.web declared as Logger -
Uses of Logger in org.apache.logging.slf4j
Classes in org.apache.logging.slf4j that implement LoggerFields in org.apache.logging.slf4j declared as Logger