public class LogManager
extends java.lang.Object
org.apache.log4j.LogManager
class (as found in log4j 1.2)
delegating all calls to SLF4J.
This implementation does NOT implement the setRepositorySelector(),
getLoggerRepository(), exists(), getCurrentLoggers(), shutdown() and
resetConfiguration() methods which do not have SLF4J equivalents.Constructor and Description |
---|
LogManager() |
Modifier and Type | Method and Description |
---|---|
static java.util.Enumeration |
getCurrentLoggers()
This bogus implementation returns an empty enumeration.
|
static Logger |
getLogger(java.lang.Class clazz) |
static Logger |
getLogger(java.lang.String name) |
static Logger |
getLogger(java.lang.String name,
LoggerFactory loggerFactory)
Returns a logger instance created by loggerFactory.
|
static Logger |
getRootLogger() |
static void |
resetConfiguration()
Implemented as NOP.
|
static void |
shutdown()
Implemented as NOP.
|
public static Logger getRootLogger()
public static Logger getLogger(java.lang.String name)
public static Logger getLogger(java.lang.Class clazz)
public static Logger getLogger(java.lang.String name, LoggerFactory loggerFactory)
name
- the name of the desired loggerloggerFactory
- an instance of LoggerFactory
public static java.util.Enumeration getCurrentLoggers()
public static void shutdown()
public static void resetConfiguration()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"