org.slf4j.impl
Class StaticLoggerBinder

java.lang.Object
  extended by org.slf4j.impl.StaticLoggerBinder

public class StaticLoggerBinder
extends Object

The binding of LoggerFactory class with an actual instance of ILoggerFactory is performed using information returned by this class. This class is meant to provide a dummy StaticLoggerBinder to the slf4j-api module. Real implementations are found in each SLF4J binding project, e.g. slf4j-nop, slf4j-log4j12 etc.

Author:
Ceki Gülcü

Field Summary
static String REQUESTED_API_VERSION
          Declare the version of the SLF4J API this implementation is compiled against.
static StaticLoggerBinder SINGLETON
          Deprecated. Please use the getSingleton() method instead of accessing this field directly. In future versions, this field will become private.
 
Method Summary
 ILoggerFactory getLoggerFactory()
           
 String getLoggerFactoryClassStr()
           
static StaticLoggerBinder getSingleton()
          Return the singleton of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SINGLETON

public static final StaticLoggerBinder SINGLETON
Deprecated. Please use the getSingleton() method instead of accessing this field directly. In future versions, this field will become private.
The unique instance of this class.


REQUESTED_API_VERSION

public static String REQUESTED_API_VERSION
Declare the version of the SLF4J API this implementation is compiled against. The value of this field is usually modified with each release.

Method Detail

getSingleton

public static final StaticLoggerBinder getSingleton()
Return the singleton of this class.

Returns:
the StaticLoggerBinder singleton

getLoggerFactory

public ILoggerFactory getLoggerFactory()

getLoggerFactoryClassStr

public String getLoggerFactoryClassStr()


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