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 jsql Show documentation
Show all versions of jsql Show documentation
SQL Utilities including simple command line, schema management.
The newest version!
package org.slf4j.impl;
import net.jmatrix.db.common.console.slf4j.ConsoleLoggerFactory;
import org.slf4j.ILoggerFactory;
import org.slf4j.spi.LoggerFactoryBinder;
public class StaticLoggerBinder implements LoggerFactoryBinder {
static StaticLoggerBinder SINGLEDON=null;
static ConsoleLoggerFactory clf=null;
static {
clf=new ConsoleLoggerFactory();
SINGLETON = new StaticLoggerBinder();
}
private static StaticLoggerBinder SINGLETON = new StaticLoggerBinder();
@Override
public ILoggerFactory getLoggerFactory() {
return clf;
}
@Override
public String getLoggerFactoryClassStr() {
return ConsoleLoggerFactory.class.getName();
}
public static StaticLoggerBinder getSingleton() {
return SINGLETON;
}
}