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 © 2014. All rights reserved.