All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.slf4j.impl.StaticLoggerBinder Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package org.slf4j.impl;

import org.slf4j.ILoggerFactory;
import org.slf4j.spi.LoggerFactoryBinder;

public class StaticLoggerBinder
    implements LoggerFactoryBinder
{
    private static final StaticLoggerBinder SINGLETON = new StaticLoggerBinder();
    public static String REQUESTED_API_VERSION = "1.6.1";

    private final ILoggerFactory loggerFactory = new MufferoLoggerFactory();
    private final String loggerFactoryClassName = MufferoLoggerFactory.class.getName();

    private StaticLoggerBinder(){}

    public static StaticLoggerBinder getSingleton()
    {
        return SINGLETON;
    }

    public ILoggerFactory getLoggerFactory()
    {
        return loggerFactory;
    }

    public String getLoggerFactoryClassStr()
    {
        return loggerFactoryClassName;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy