Uses of Interface
org.apache.logging.log4j.Logger
-
Packages that use Logger Package Description org.apache.logging.log4j Public API for Log4j 2.org.apache.logging.log4j.internal This package should be considered private.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. -
-
Uses of Logger in org.apache.logging.log4j
Methods in org.apache.logging.log4j that return Logger Modifier and Type Method Description static 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 LoggerLogManager. getLogger(Class<?> clazz)Returns 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 LoggerLogManager. getLogger(Object value)Returns 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 LoggerLogManager. getLogger(String name)Returns a Logger with the specified name.protected static LoggerLogManager. getLogger(String fqcn, String name)Returns 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.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 classSimpleLoggerThis 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 interfaceExtendedLoggerExtends theLoggerinterface with methods that facilitate implementing or extendingLoggers.Classes in org.apache.logging.log4j.spi that implement Logger Modifier and Type Class Description classAbstractLoggerBase implementation of a Logger.classExtendedLoggerWrapperWrapper 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 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 classStatusLoggerRecords events that occur in the logging system.
-