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

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

Go to download

Library that provides a better logging interface than the Android Log interface.

The newest version!
package org.slf4j.impl;

import org.slf4j.ILoggerFactory;

import org.slf4j.spi.LoggerFactoryBinder;

import com.github.iweinzierl.android.logging.AndroidLoggerFactory;

public class StaticLoggerBinder implements LoggerFactoryBinder {

    private static StaticLoggerBinder SINGLETON = new StaticLoggerBinder();

    public static StaticLoggerBinder getSingleton() {
        return SINGLETON;
    }

    public ILoggerFactory getLoggerFactory() {
        return AndroidLoggerFactory.getInstance();
    }

    public String getLoggerFactoryClassStr() {
        return AndroidLoggerFactory.class.getName();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy