Uses of Class org.apache.log4j.Logger

Uses in package org.apache.log4j.helpers

Methods with parameter type org.apache.log4j.Logger

void
Does not do anything.

Uses in package org.apache.log4j.jmx

Constructors with parameter type org.apache.log4j.Logger

Methods with return type org.apache.log4j.Logger

Logger
Logger
Logger
Logger
Logger

Uses in package org.apache.log4j.varia

Methods with parameter type org.apache.log4j.Logger

void
Adds the logger passed as parameter to the list of loggers that we need to search for in case of appender failure.

Uses in package org.apache.log4j

Constructors with parameter type org.apache.log4j.Logger

Create a new logger hierarchy.

Methods with return type org.apache.log4j.Logger

Logger
Category.exists(String name)
If the named category exists (in the default hierarchy) then it returns a reference to the category, otherwise it returns null.
Logger
Hierarchy.exists(String name)
Check if the named logger exists in the hierarchy.
Logger
LogManager.exists(String name)
Logger
Logger.getLogger(Class clazz)
Same as calling getLogger(clazz.getName()).
Logger
LogManager.getLogger(Class clazz)
Retrieve the appropriate Logger instance.
Logger
Hierarchy.getLogger(String name)
Return a new logger instance named as the first parameter using the default factory.
Logger
Logger.getLogger(String name)
Retrieve a logger by name.
Logger
LogManager.getLogger(String name)
Retrieve the appropriate Logger instance.
Logger
Hierarchy.getLogger(String name, LoggerFactory factory)
Return a new logger instance named as the first parameter using factory.
Logger
Logger.getLogger(String name, LoggerFactory factory)
Like getLogger(String) except that the type of logger instantiated depends on the type returned by the LoggerFactory.makeNewLoggerInstance(String) method of the factory parameter.
Logger
LogManager.getLogger(String name, LoggerFactory factory)
Retrieve the appropriate Logger instance.
Logger
Get the root of this hierarchy.
Logger
Retrieve the root logger.
Logger
Retrieve the appropriate root logger.

Uses in package org.apache.log4j.spi

Classes derived from org.apache.log4j.Logger

class
RootCategory sits at the top of the category hierachy.

Methods with parameter type org.apache.log4j.Logger

void
Add a reference to a logger to which the failing appender might be attached to.

Methods with return type org.apache.log4j.Logger

Logger
LoggerRepository.exists(String name)
Logger
Logger
LoggerRepository.getLogger(String name, LoggerFactory factory)
Logger
Logger

Uses in package org.apache.log4j.xml

Methods with parameter type org.apache.log4j.Logger

void
DOMConfigurator.parseChildrenOfLoggerElement(Element catElement, Logger cat, boolean isRoot)
Used internally to parse the children of a category element.
void
DOMConfigurator.parseLevel(Element element, Logger logger, boolean isRoot)
Used internally to parse a level element.

Copyright 2000-2002 Apache Software Foundation.