Uses of Class
org.apache.log4j.Logger
Packages that use Logger
Package
Description
Log4j 1.x compatibility layer.
This package lets you manage log4j settings using JMX.
Log4j 1.x compatibility layer.
-
Uses of Logger in org.apache.log4j
Methods in org.apache.log4j that return LoggerModifier and TypeMethodDescriptionstatic LoggerDeprecated.Tests if the named logger exists in the hierarchy.static LoggerTests if a logger for the given name exists.Gets a new logger instance named as the first parameter using the default factory.Hierarchy.getLogger(String name, LoggerFactory factory) Gets a new logger instance named as the first parameter usingfactory.static Loggerstatic Loggerstatic LoggerLogger.getLogger(String name, LoggerFactory factory) static LoggerGets the logger for the given class.static LoggerGets the logger for the given name.static LoggerLogManager.getLogger(String name, LoggerFactory factory) Hierarchy.getRootLogger()Gets the root of this hierarchy.static LoggerLogger.getRootLogger()static LoggerLogManager.getRootLogger()Gets the root logger.Methods in org.apache.log4j with parameters of type LoggerModifier and TypeMethodDescriptionvoidConstructors in org.apache.log4j with parameters of type Logger -
Uses of Logger in org.apache.log4j.jmx
Methods in org.apache.log4j.jmx that return LoggerModifier and TypeMethodDescriptionprotected abstract LoggerAbstractDynamicMBean.getLogger()protected LoggerAppenderDynamicMBean.getLogger()protected LoggerHierarchyDynamicMBean.getLogger()protected LoggerLayoutDynamicMBean.getLogger()protected LoggerLoggerDynamicMBean.getLogger()Constructors in org.apache.log4j.jmx with parameters of type Logger -
Uses of Logger in org.apache.log4j.spi
Subclasses of Logger in org.apache.log4j.spiModifier and TypeClassDescriptionfinal classNo-operation implementation of Logger used by NOPLoggerRepository.final classRootLogger sits at the top of the logger hierarchy.Methods in org.apache.log4j.spi that return LoggerModifier and TypeMethodDescriptionLoggerRepository.getLogger(String name, LoggerFactory factory) NOPLoggerRepository.getLogger(String name, LoggerFactory factory) LoggerRepository.getRootLogger()NOPLoggerRepository.getRootLogger()LoggerFactory.makeNewLoggerInstance(String name) Methods in org.apache.log4j.spi with parameters of type Logger -
Uses of Logger in org.apache.log4j.varia
Methods in org.apache.log4j.varia with parameters of type Logger
LogManager.exists(String)instead.