Back to project page slf4android.
The source code is released under:
MIT License
If you think the Android project slf4android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.slf4j.impl; // ww w . j av a 2 s.c o m import org.slf4j.ILoggerFactory; import org.slf4j.spi.LoggerFactoryBinder; import pl.brightinventions.slf4android.AndroidLoggerFactory; public class StaticLoggerBinder implements LoggerFactoryBinder { public static final String REQUESTED_API_VERSION = "1.7"; private static final ILoggerFactory factory = new AndroidLoggerFactory(); private static final String factoryClassName = AndroidLoggerFactory.class.getName(); private static final StaticLoggerBinder instance = new StaticLoggerBinder(); //This method is required by slf4j //@Override public static StaticLoggerBinder getSingleton() { return instance; } @Override public ILoggerFactory getLoggerFactory() { return factory; } @Override public String getLoggerFactoryClassStr() { return factoryClassName; } }