view slf4j/src/org/slf4j/impl/StaticLoggerBinder.java @ 1786:bda4ec615c5b

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 10 Dec 2023 21:17:21 -0700
parents 1437fb1f0956
children
line wrap: on
line source

package org.slf4j.impl;

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


public final class StaticLoggerBinder implements LoggerFactoryBinder {
	private static final ILoggerFactory loggerFactory = new GoodFactory();

	public ILoggerFactory getLoggerFactory() {
		return loggerFactory;
	}

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


	private static final StaticLoggerBinder SINGLETON = new StaticLoggerBinder();

	public static final StaticLoggerBinder getSingleton() {
		return SINGLETON;
	}
}