Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.log4j.Logger

Packages that use Logger
org.apache.log4j | The main log4j package.
org.apache.log4j.config | Package used in getting/setting component properties.
org.apache.log4j.helpers | This package is used internally.
org.apache.log4j.jmx | This package lets you manage log4j settings using JMX.
org.apache.log4j.spi | Contains part of the System Programming Interface (SPI) needed to extend log4j.
org.apache.log4j.varia | Contains various appenders, filters and other odds and ends.
org.apache.log4j.xml | XML based components.

Uses of Logger in org.apache.log4j

Methods in org.apache.log4j that return Logger
`static Logger` | `LogManager.exists(java.lang.String name)`
`Logger` | `Hierarchy.exists(java.lang.String name)` Check if the named logger exists in the hierarchy.
`static Logger` | `Category.exists(java.lang.String name)` Deprecated. Please use `LogManager.exists(java.lang.String)` instead.
`static Logger` | `LogManager.getLogger(java.lang.Class clazz)` Retrieve the appropriate `Logger` instance.
`static Logger` | `Logger.getLogger(java.lang.Class clazz)` Shorthand for `getLogger(clazz.getName())`.
`static Logger` | `LogManager.getLogger(java.lang.String name)` Retrieve the appropriate `Logger` instance.
`Logger` | `Hierarchy.getLogger(java.lang.String name)` Return a new logger instance named as the first parameter using the default factory.
`static Logger` | `Logger.getLogger(java.lang.String name)` Retrieve a logger named according to the value of the `name` parameter.
`static Logger` | `LogManager.getLogger(java.lang.String name, LoggerFactory factory)` Retrieve the appropriate `Logger` instance.
`Logger` | `Hierarchy.getLogger(java.lang.String name, LoggerFactory factory)` Return a new logger instance named as the first parameter using `factory`.
`static Logger` | `Logger.getLogger(java.lang.String name, LoggerFactory factory)` Like `getLogger(String)` except that the type of logger instantiated depends on the type returned by the `LoggerFactory.makeNewLoggerInstance(java.lang.String)` method of the `factory` parameter.
`static Logger` | `LogManager.getRootLogger()` Retrieve the appropriate root logger.
`Logger` | `Hierarchy.getRootLogger()` Get the root of this hierarchy.
`static Logger` | `Logger.getRootLogger()` Return the root logger for the current logger repository.

Constructors in org.apache.log4j with parameters of type Logger
`Hierarchy(Logger root)` Create a new logger hierarchy.

Uses of Logger in org.apache.log4j.config

Methods in org.apache.log4j.config with parameters of type Logger
`protected void` | `PropertyPrinter.printOptions(java.io.PrintWriter out, Logger cat)`

Uses of Logger in org.apache.log4j.helpers

Methods in org.apache.log4j.helpers with parameters of type Logger
`void` | `OnlyOnceErrorHandler.setLogger(Logger logger)` Does not do anything.

Uses of Logger in org.apache.log4j.jmx

Methods in org.apache.log4j.jmx that return Logger
`protected Logger` | `HierarchyDynamicMBean.getLogger()`
`protected Logger` | `LoggerDynamicMBean.getLogger()`
`protected Logger` | `LayoutDynamicMBean.getLogger()`
`protected Logger` | `AppenderDynamicMBean.getLogger()`
`protected abstract Logger` | `AbstractDynamicMBean.getLogger()`

Constructors in org.apache.log4j.jmx with parameters of type Logger
`LoggerDynamicMBean(Logger logger)`

Uses of Logger in org.apache.log4j.spi

Subclasses of Logger in org.apache.log4j.spi
`class` | `NOPLogger` No-operation implementation of Logger used by NOPLoggerRepository.
`class` | `RootCategory` Deprecated. Replaced by `RootLogger`.
`class` | `RootLogger` RootLogger sits at the top of the logger hierachy.

Methods in org.apache.log4j.spi that return Logger
`Logger` | `NOPLoggerRepository.exists(java.lang.String name)`
`Logger` | `LoggerRepository.exists(java.lang.String name)`
`Logger` | `NOPLoggerRepository.getLogger(java.lang.String name)`
`Logger` | `LoggerRepository.getLogger(java.lang.String name)`
`Logger` | `NOPLoggerRepository.getLogger(java.lang.String name, LoggerFactory factory)`
`Logger` | `LoggerRepository.getLogger(java.lang.String name, LoggerFactory factory)`
`Logger` | `NOPLoggerRepository.getRootLogger()`
`Logger` | `LoggerRepository.getRootLogger()`
`Logger` | `LoggerFactory.makeNewLoggerInstance(java.lang.String name)`

Methods in org.apache.log4j.spi with parameters of type Logger
`void` | `ErrorHandler.setLogger(Logger logger)` Add a reference to a logger to which the failing appender might be attached to.

Uses of Logger in org.apache.log4j.varia

Methods in org.apache.log4j.varia with parameters of type Logger
`void` | `FallbackErrorHandler.setLogger(Logger logger)` Adds the logger passed as parameter to the list of loggers that we need to search for in case of appender failure.

Uses of Logger in org.apache.log4j.xml

Methods in org.apache.log4j.xml with parameters of type Logger
`protected void` | `DOMConfigurator.parseChildrenOfLoggerElement(org.w3c.dom.Element catElement, Logger cat, boolean isRoot)` Used internally to parse the children of a category element.
`protected void` | `DOMConfigurator.parseLevel(org.w3c.dom.Element element, Logger logger, boolean isRoot)` Used internally to parse a level element.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.