Logback API
Version 0.9.8

org.slf4j.impl
Class StaticLoggerBinder

java.lang.Object
  extended by org.slf4j.impl.StaticLoggerBinder
All Implemented Interfaces:
LoggerFactoryBinder

public class StaticLoggerBinder
extends Object
implements LoggerFactoryBinder

The binding of LoggerFactory class with an actual instance of ILoggerFactory is performed using information returned by this class.

Author:
Ceki Gülcü

Field Summary
static StaticLoggerBinder SINGLETON
          The unique instance of this class.
 
Method Summary
 ContextSelector getContextSelector()
          Return the ContextSelector instance in use.
 ILoggerFactory getLoggerFactory()
           
 String getLoggerFactoryClassStr()
           
 void initialize()
           
 
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
The unique instance of this class.

Method Detail

initialize

public void initialize()

getLoggerFactory

public ILoggerFactory getLoggerFactory()
Specified by:
getLoggerFactory in interface LoggerFactoryBinder

getLoggerFactoryClassStr

public String getLoggerFactoryClassStr()
Specified by:
getLoggerFactoryClassStr in interface LoggerFactoryBinder

getContextSelector

public ContextSelector getContextSelector()
Return the ContextSelector instance in use.

Returns:
the ContextSelector instance in use

Logback API
Version 0.9.8

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