Package | Description |
---|---|
org.apache.log4j |
Log4j 1.x compatibility layer.
|
org.apache.log4j.spi |
Log4j 1.x compatibility layer.
|
Modifier and Type | Method and Description |
---|---|
static Logger |
LogManager.exists(String name) |
static Logger |
LogManager.getLogger(Class<?> clazz) |
static Logger |
Logger.getLogger(Class<?> clazz) |
static Logger |
LogManager.getLogger(String name) |
static Logger |
Logger.getLogger(String name) |
static Logger |
LogManager.getLogger(String name,
LoggerFactory factory) |
static Logger |
Logger.getLogger(String name,
LoggerFactory factory) |
static Logger |
LogManager.getRootLogger() |
static Logger |
Logger.getRootLogger() |
Modifier and Type | Method and Description |
---|---|
void |
AppenderSkeleton.NoOpErrorHandler.setLogger(Logger logger) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
void |
ErrorHandler.setLogger(Logger logger)
Add a reference to a logger to which the failing appender might
be attached to.
|
Copyright © 1999-1969 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.