org.apache.log4j

Class LogManager

public class LogManager extends Object

This class is a minimal implementation of the original 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.

Author: Ceki Gülcü

Method Summary
static LoggergetLogger(String name)
static LoggergetLogger(Class clazz)
static LoggergetRootLogger()

Method Detail

getLogger

public static Logger getLogger(String name)

getLogger

public static Logger getLogger(Class clazz)

getRootLogger

public static Logger getRootLogger()
Copyright © 2005-2010 QOS.ch. All Rights Reserved.