Removed logger - not working on this for now.

This commit is contained in:
tomasz.kowalczewski committed 2020-10-03 23:14:01 +02:00
1 parent 49b63d1325
commit bda8a2c71c
1 file changed
-66
@@ -1,66 +0,0 @@
package org.slf4j.impl;
import org.slf4j.ILoggerFactory;
import org.slf4j.spi.LoggerFactoryBinder;
import pl.tkowalcz.thjazi.ThjaziLoggerFactory;
/**
* SLF4J LoggerFactoryBinder implementation using Log4j. This class is part of the required classes used to specify an
* SLF4J logger provider implementation.
*/
public final class StaticLoggerBinder implements LoggerFactoryBinder {
/**
* Declare the version of the SLF4J API this implementation is compiled
* against. The value of this field is usually modified with each release.
*/
// to avoid constant folding by the compiler, this field must *not* be final
public static String REQUESTED_API_VERSION = "1.6"; // !final
private static final String LOGGER_FACTORY_CLASS_STR = ThjaziLoggerFactory.class.getName();
/**
* The unique instance of this class.
*/
private static final StaticLoggerBinder SINGLETON = new StaticLoggerBinder();
/**
* The ILoggerFactory instance returned by the {@link #getLoggerFactory}
* method should always be the same object
*/
private final ILoggerFactory loggerFactory;
/**
* Private constructor to prevent instantiation
*/
private StaticLoggerBinder() {
loggerFactory = new ThjaziLoggerFactory();
}
/**
* Returns the singleton of this class.
*
* @return the StaticLoggerBinder singleton
*/
public static StaticLoggerBinder getSingleton() {
return SINGLETON;
}
/**
* Returns the factory.
* @return the factor.
*/
@Override
public ILoggerFactory getLoggerFactory() {
return loggerFactory;
}
/**
* Returns the class name.
* @return the class name;
*/
@Override
public String getLoggerFactoryClassStr() {
return LOGGER_FACTORY_CLASS_STR;
}
}