|
NLOG4J 1.2.24 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
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(String name)
|
Logger |
Hierarchy.exists(String name)
Check if the named logger exists in the hierarchy. |
static Logger |
Category.exists(String name)
Deprecated. Please use LogManager.exists(java.lang.String) instead. |
static Logger |
LogManager.getLogger(Class clazz)
Retrieve the appropriate Logger instance. |
static Logger |
Logger.getLogger(Class clazz)
Shorthand for getLogger(clazz.getName()) . |
static Logger |
LogManager.getLogger(String name)
Retrieve the appropriate Logger instance. |
static Logger |
Logger.getLogger(String name)
Retrieve a logger named according to the value of the name parameter. |
Logger |
Hierarchy.getLogger(String name)
Return a new logger instance named as the first parameter using the default factory. |
static Logger |
LogManager.getLogger(String name,
LoggerFactory factory)
Retrieve the appropriate Logger instance. |
static 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(java.lang.String) method of the
factory parameter. |
Logger |
Hierarchy.getLogger(String name,
LoggerFactory factory)
Return a new logger instance named as the first parameter using factory . |
static Logger |
LogManager.getRootLogger()
Retrieve the appropriate root logger. |
static Logger |
Logger.getRootLogger()
Return the root logger for the current logger repository. |
Logger |
Hierarchy.getRootLogger()
Get the root of this hierarchy. |
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(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 |
LoggerDynamicMBean.getLogger()
|
protected Logger |
LayoutDynamicMBean.getLogger()
|
protected Logger |
HierarchyDynamicMBean.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 |
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 |
LoggerRepository.exists(String name)
|
Logger |
LoggerRepository.getLogger(String name)
|
Logger |
LoggerRepository.getLogger(String name,
LoggerFactory factory)
|
Logger |
LoggerRepository.getRootLogger()
|
Logger |
LoggerFactory.makeNewLoggerInstance(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(Element catElement,
Logger cat,
boolean isRoot)
Used internally to parse the children of a category element. |
protected void |
DOMConfigurator.parseLevel(Element element,
Logger logger,
boolean isRoot)
Used internally to parse a level element. |
|
NLOG4J 1.2.24 | |||||||||
PREV NEXT | FRAMES NO FRAMES |