Uses of Class
org.apache.log4j.Logger
Packages that use Logger
Package
Description
Log4j 1.x compatibility layer.
Log4j 1.x compatibility layer.
-
Uses of Logger in org.apache.log4j
Fields in org.apache.log4j declared as LoggerFields in org.apache.log4j with type parameters of type LoggerModifier and TypeFieldDescriptionprivate static final WeakHashMap<LoggerContext, ConcurrentMap<String, Logger>> Hierarchy.CONTEXT_MAPMethods in org.apache.log4j that return LoggerModifier and TypeMethodDescriptionstatic LoggerDeprecated.Tests if the named logger exists in the hierarchy.(package private) LoggerHierarchy.exists(String name, ClassLoader classLoader) (package private) LoggerHierarchy.exists(String name, LoggerContext loggerContext) static LoggerTests if a logger for the given name exists.(package private) static LoggerLogManager.exists(String name, ClassLoader classLoader) (package private) static LoggerHierarchy.getInstance(LoggerContext context, String name) (package private) static LoggerHierarchy.getInstance(LoggerContext context, String name, Hierarchy.PrivateLoggerAdapter factory) (package private) static LoggerHierarchy.getInstance(LoggerContext context, String name, LoggerFactory factory) Gets a new logger instance named as the first parameter using the default factory.(package private) LoggerHierarchy.getLogger(String name, ClassLoader classLoader) Hierarchy.getLogger(String name, LoggerFactory factory) Gets a new logger instance named as the first parameter usingfactory.(package private) LoggerHierarchy.getLogger(String name, LoggerFactory factory, ClassLoader classLoader) 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.(package private) static LoggerLogManager.getLogger(String name, ClassLoader classLoader) static LoggerLogManager.getLogger(String name, LoggerFactory factory) (package private) static LoggerLogManager.getLogger(String name, LoggerFactory factory, ClassLoader classLoader) Hierarchy.getRootLogger()Gets the root of this hierarchy.(package private) LoggerHierarchy.getRootLogger(ClassLoader classLoader) (package private) static LoggerHierarchy.getRootLogger(LoggerContext context) static LoggerLogger.getRootLogger()static LoggerLogManager.getRootLogger()Gets the root logger.(package private) static LoggerLogManager.getRootLogger(ClassLoader classLoader) DefaultCategoryFactory.makeNewLoggerInstance(String name) protected LoggerHierarchy.PrivateLoggerAdapter.newLogger(String name, LoggerContext context) Methods in org.apache.log4j that return types with arguments of type LoggerModifier and TypeMethodDescription(package private) static ConcurrentMap<String, Logger> Hierarchy.getLoggersMap(LoggerContext context) Methods in org.apache.log4j with parameters of type LoggerModifier and TypeMethodDescription(package private) voidPropertyConfigurator.parseAdditivityForLogger(Properties properties, Logger logger, String loggerName) Parse the additivity option for a non-root category.(package private) voidPropertyConfigurator.parseCategory(Properties properties, Logger logger, String optionKey, String loggerName, String value) This method must work for the root category as well.voidprivate final voidHierarchy.updateChildren(ProvisionNode pn, Logger logger) We update the links for all the children that placed themselves in the provision node 'pn'.private final voidHierarchy.updateParents(Logger cat) This method loops through all the *potential* parents of 'cat'.Constructors in org.apache.log4j with parameters of type LoggerModifierConstructorDescriptionCreates a new logger hierarchy.(package private)ProvisionNode(Logger 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.