org.apache.log4j
Class LogManager

java.lang.Object
  extended by org.apache.log4j.LogManager

public class LogManager
extends java.lang.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ü

Constructor Summary
LogManager()
           
 
Method Summary
static Logger getLogger(java.lang.Class clazz)
           
static Logger getLogger(java.lang.String name)
           
static Logger getRootLogger()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogManager

public LogManager()
Method Detail

getRootLogger

public static Logger getRootLogger()

getLogger

public static Logger getLogger(java.lang.String name)

getLogger

public static Logger getLogger(java.lang.Class clazz)


Copyright © 2005-2010 QOS.ch. All Rights Reserved.