![JAR search and dependency download from the Maven repository](/logo.png)
org.slf4j.impl.StaticLoggerBinder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of slf4j-test Show documentation
Show all versions of slf4j-test Show documentation
An in-memory SLF4J implementation focused on aiding unit testing.
The newest version!
package org.slf4j.impl;
import org.slf4j.ILoggerFactory;
import org.slf4j.spi.LoggerFactoryBinder;
import uk.org.lidalia.slf4jtest.TestLoggerFactory;
public final class StaticLoggerBinder implements LoggerFactoryBinder {
private static final StaticLoggerBinder SINGLETON = new StaticLoggerBinder();
public static StaticLoggerBinder getSingleton() {
return SINGLETON;
}
public static final String REQUESTED_API_VERSION = "1.6";
private StaticLoggerBinder() { }
public ILoggerFactory getLoggerFactory() {
return TestLoggerFactory.getInstance();
}
public String getLoggerFactoryClassStr() {
return TestLoggerFactory.class.getName();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy