Uses of Interface
org.apache.logging.log4j.Logger
-
Packages that use Logger Package Description org.apache.log4j.legacy.core 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.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.plugins.visitors Visitor classes for extracting values from a Configuration or Node corresponding to a plugin annotation.org.apache.logging.log4j.core.layout Log4j 2 Layout support.org.apache.logging.log4j.core.net Log4j 2 network support.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.internal 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.slf4j SLF4J support. -
-
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)
Methods in org.apache.log4j.legacy.core with parameters of type Logger Modifier and Type Method Description static LoggerContext
CategoryUtil. getLoggerContext(Logger logger)
static Logger
CategoryUtil. getParent(Logger logger)
static boolean
CategoryUtil. isAdditive(Logger logger)
static void
CategoryUtil. setAdditivity(Logger logger, boolean additivity)
static void
CategoryUtil. setLevel(Logger logger, Level level)
-
Uses of Logger in org.apache.logging.log4j
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(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
LogManager. getLogger(Class<?> clazz)
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
LogManager. getLogger(Object value)
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
LogManager. getLogger(String name)
Returns a Logger with the specified name.protected static Logger
LogManager. getLogger(String fqcn, String name)
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 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. -
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.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. -
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. -
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 protected static Logger
ConfigurationFactory. LOGGER
Allows subclasses access to the status logger without creating another instance. -
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. -
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. -
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.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. -
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 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 protected static Logger
DefaultShutdownCallbackRegistry. LOGGER
Status logger. -
Uses of Logger in org.apache.logging.log4j.internal
Constructors in org.apache.logging.log4j.internal with parameters of type Logger Constructor Description DefaultLogBuilder(Logger logger)
DefaultLogBuilder(Logger logger, Level level)
-
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. -
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. -
Uses of Logger in org.apache.logging.slf4j
Classes in org.apache.logging.slf4j that implement Logger Modifier and Type Class Description class
SLF4JLogger
-