Uses of Interface
org.apache.logging.log4j.Logger
Packages that use Logger
Package
Description
Public API for Log4j 2.
Implementation of Log4j 2.
Log4j 2 Appenders.
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.
Provides Asynchronous Logger classes and interfaces for low-latency logging.
Configuration of Log4j 2.
Visitor classes for extracting values from a Configuration or Node corresponding to a plugin annotation.
Log4j 2 Layout support.
Log4j 2 network support.
Provides classes implementing format specifiers in conversion patterns.
Log4j 2 Script support.
Log4j 2 helper classes.
See
IoBuilder.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.
SLF4J support.
-
Uses of Logger in org.apache.log4j.builders.appender
Fields in org.apache.log4j.builders.appender 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 TypeMethodDescriptionstatic voidCategoryUtil.addAppender(Logger logger, Appender appender) Adds an appender to the logger.CategoryUtil.getAppenders(Logger logger) Gets the appenders attached directly to this logger.CategoryUtil.getFilters(Logger logger) Delegates toLogger.getFilters()if appropriate.static LoggerContextCategoryUtil.getLoggerContext(Logger logger) Delegates toLogger.getContext()if appropriate.static LoggerDelegates toLogger.getParent()if appropriate.static booleanCategoryUtil.isAdditive(Logger logger) Delegates toLogger.isAdditive()if appropriate.static voidSends the event to all appenders directly connected with the logger.static voidCategoryUtil.setAdditivity(Logger logger, boolean additive) Delegates toLogger.setAdditive(boolean)if appropriate.static voidDelegates toLogger.setLevel(Level)if appropriate. -
Uses of Logger in org.apache.logging.log4j
Methods in org.apache.logging.log4j that return LoggerModifier and TypeMethodDescriptionstatic LoggerLogManager.getFormatterLogger()Returns a formatter Logger using the fully qualified name of the calling Class as the Logger name.static LoggerLogManager.getFormatterLogger(Class<?> clazz) Returns a formatter Logger using the fully qualified name of the Class as the Logger name.static LoggerLogManager.getFormatterLogger(Object value) Returns a formatter Logger using the fully qualified name of the value's Class as the Logger name.static LoggerLogManager.getFormatterLogger(String name) Returns a formatter Logger with the specified name.static LoggerLogManager.getLogger()Returns a Logger with the name of the calling class.static LoggerReturns a Logger using the fully qualified name of the Class as the Logger name.static LoggerLogManager.getLogger(Class<?> clazz, MessageFactory messageFactory) Returns a Logger using the fully qualified name of the Class as the Logger name.static LoggerReturns a Logger using the fully qualified class name of the value as the Logger name.static LoggerLogManager.getLogger(Object value, MessageFactory messageFactory) Returns a Logger using the fully qualified class name of the value as the Logger name.static LoggerReturns a Logger with the specified name.protected static LoggerReturns a Logger with the specified name.static LoggerLogManager.getLogger(String name, MessageFactory messageFactory) Returns a Logger with the specified name.static LoggerLogManager.getLogger(MessageFactory messageFactory) Returns a Logger with the name of the calling class.static LoggerLogManager.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 LoggerAbstractLifeCycle.LOGGERAllow subclasses access to the status logger without creating another instance.Methods in org.apache.logging.log4j.core that return LoggerModifier and TypeMethodDescriptionprotected static LoggerAbstractLifeCycle.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 -
Uses of Logger in org.apache.logging.log4j.core.appender.db.jdbc
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 LoggerMapRewritePolicy.LOGGERAllow subclasses access to the status logger without creating another instance.protected static final LoggerPropertiesRewritePolicy.LOGGERAllows 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 Logger -
Uses of Logger in org.apache.logging.log4j.core.async
Classes in org.apache.logging.log4j.core.async that implement LoggerModifier and TypeClassDescriptionclassAsyncLogger 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 TypeFieldDescriptionprotected static final LoggerConfigurationFactory.LOGGERAllows subclasses access to the status logger without creating another instance.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.plugins.visitors
Fields in org.apache.logging.log4j.core.config.plugins.visitors declared as Logger -
Uses of Logger in org.apache.logging.log4j.core.layout
Fields in org.apache.logging.log4j.core.layout declared as 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.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 Logger -
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.simple
Classes in org.apache.logging.log4j.simple that implement LoggerModifier and TypeClassDescriptionclassThis 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 TypeInterfaceDescriptioninterfaceExtends theLoggerinterface with methods that facilitate implementing or extendingLoggers.Classes in org.apache.logging.log4j.spi that implement LoggerModifier and TypeClassDescriptionclassBase implementation of a Logger.classWrapper class that exposes the protected AbstractLogger methods to support wrapped loggers.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 classRecords events that occur in the logging system. -
Uses of Logger in org.apache.logging.slf4j
Classes in org.apache.logging.slf4j that implement LoggerConstructors in org.apache.logging.slf4j with parameters of type LoggerModifierConstructorDescriptionLog4jEventBuilder(Log4jMarkerFactory markerFactory, Logger logger, Level level)