| Package | Description |
|---|---|
| org.apache.log4j | |
| org.apache.log4j.spi |
| Modifier and Type | Method and Description |
|---|---|
static Logger |
Logger.getLogger(Class clazz)
Shorthand for
. |
static Logger |
Logger.getLogger(String name)
Retrieve a logger by name.
|
static Logger |
Logger.getLogger(String name,
LoggerFactory factory)
This method is equivalent to
getLogger( String name ) and the
LoggerFactory is ignored. |
static Logger |
Logger.getRootLogger()
Return the root of logger for the current hierarchy.
|
| Modifier and Type | Method and Description |
|---|---|
Logger |
LoggerFactory.makeNewLoggerInstance(String name) |
Copyright © 2006-2016 OPS4J - Open Participation Software for Java. All Rights Reserved.