Package org.slf4j.impl
Class StaticLoggerBinder
- java.lang.Object
 - 
- org.slf4j.impl.StaticLoggerBinder
 
 
- 
- All Implemented Interfaces:
 org.slf4j.spi.LoggerFactoryBinder
public class StaticLoggerBinder extends java.lang.Object implements org.slf4j.spi.LoggerFactoryBinderThe binding of org.slf4j.LoggerFactory class with an actual instance of org.slf4j.ILoggerFactory is performed using information returned by this class.- Author:
 - colezlaw
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringREQUESTED_API_VERSIONDeclare the version of the SLF4J API this implementation is compiled against. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.slf4j.ILoggerFactorygetLoggerFactory()Returns the logger factory.java.lang.StringgetLoggerFactoryClassStr()Returns the logger factory class string.static StaticLoggerBindergetSingleton()Return the singleton of this class.voidsetTask(org.apache.tools.ant.Task task)Set the Task which will this is to log through. 
 - 
 
- 
- 
Method Detail
- 
getSingleton
public static StaticLoggerBinder getSingleton()
Return the singleton of this class.- Returns:
 - the StaticLoggerBinder singleton
 
 
- 
setTask
public void setTask(org.apache.tools.ant.Task task)
Set the Task which will this is to log through.- Parameters:
 task- the task through which to log
 
- 
getLoggerFactory
public org.slf4j.ILoggerFactory getLoggerFactory()
Returns the logger factory.- Specified by:
 getLoggerFactoryin interfaceorg.slf4j.spi.LoggerFactoryBinder- Returns:
 - the logger factory
 
 
- 
getLoggerFactoryClassStr
public java.lang.String getLoggerFactoryClassStr()
Returns the logger factory class string.- Specified by:
 getLoggerFactoryClassStrin interfaceorg.slf4j.spi.LoggerFactoryBinder- Returns:
 - the logger factory class string
 
 
 - 
 
 -