org.slf4j.impl.StaticMDCBinder Maven / Gradle / Ivy
The newest version!
package org.slf4j.impl;
import org.slf4j.helpers.NOPMDCAdapter;
import org.slf4j.spi.MDCAdapter;
public class StaticMDCBinder {
public static final StaticMDCBinder SINGLETON = new StaticMDCBinder();
private StaticMDCBinder() {
}
public static final StaticMDCBinder getSingleton() {
return SINGLETON;
}
public MDCAdapter getMDCA() {
return new NOPMDCAdapter();
}
public String getMDCAdapterClassStr() {
return NOPMDCAdapter.class.getName();
}
}