From bda8a2c71c927f7b4cfa816b28b70f5c7bb6590b Mon Sep 17 00:00:00 2001 From: "tomasz.kowalczewski" Date: Sat, 3 Oct 2020 23:14:01 +0200 Subject: [PATCH] Removed logger - not working on this for now. --- .../org/slf4j/impl/StaticLoggerBinder.java | 66 ------------------- 1 file changed, 66 deletions(-) delete mode 100644 slf4j-binding/src/main/java/org/slf4j/impl/StaticLoggerBinder.java diff --git a/slf4j-binding/src/main/java/org/slf4j/impl/StaticLoggerBinder.java b/slf4j-binding/src/main/java/org/slf4j/impl/StaticLoggerBinder.java deleted file mode 100644 index cca4a4a..0000000 --- a/slf4j-binding/src/main/java/org/slf4j/impl/StaticLoggerBinder.java +++ /dev/null @@ -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; - } -}