Uses of Interface
org.apache.logging.log4j.spi.ExtendedLogger
Package
Description
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.
-
Uses of ExtendedLogger in org.apache.logging.log4j.simple
Modifier and TypeClassDescriptionclass
This is the default logger that is used when no suitable logging implementation is available.Modifier and TypeMethodDescriptionSimpleLoggerContext.getLogger
(String name, MessageFactory messageFactory) Modifier and TypeMethodDescriptionSimpleLoggerContext.getLoggerRegistry()
Gets the LoggerRegistry. -
Uses of ExtendedLogger in org.apache.logging.log4j.spi
Modifier and TypeClassDescriptionclass
LoggerRegistry<T extends ExtendedLogger>
Convenience class to be used byLoggerContext
implementations.static class
Generates ConcurrentHashMaps for use by the registry to store the Loggers.static interface
LoggerRegistry.MapFactory<T extends ExtendedLogger>
Interface to control the data structure used by the registry to store the Loggers.static class
LoggerRegistry.WeakMapFactory<T extends ExtendedLogger>
Generates WeakHashMaps for use by the registry to store the Loggers.Modifier and TypeClassDescriptionclass
Base implementation of a Logger.class
Wrapper class that exposes the protected AbstractLogger methods to support wrapped loggers.Modifier and TypeFieldDescriptionprotected final ExtendedLogger
ExtendedLoggerWrapper.logger
The wrapped Logger.Modifier and TypeMethodDescriptiondefault ExtendedLogger
Gets an ExtendedLogger using the fully qualified name of the Class as the Logger name.default ExtendedLogger
LoggerContext.getLogger
(Class<?> cls, MessageFactory messageFactory) Gets an ExtendedLogger using the fully qualified name of the Class as the Logger name.Gets an ExtendedLogger.LoggerContext.getLogger
(String name, MessageFactory messageFactory) Gets an ExtendedLogger.Modifier and TypeMethodDescriptionstatic void
AbstractLogger.checkMessageFactory
(ExtendedLogger logger, MessageFactory messageFactory) Checks that the message factory a logger was created with is the same as the given messageFactory.ModifierConstructorDescriptionExtendedLoggerWrapper
(ExtendedLogger logger, String name, MessageFactory messageFactory) Constructor that wraps and existing Logger. -
Uses of ExtendedLogger in org.apache.logging.log4j.status
Modifier and TypeClassDescriptionclass
Records events that occur in the logging system.