blob: 0b9fb17e437649ed99ad6b77dd0f2fb2fc696077 [file] [log] [blame]
package org.slf4j.impl;
import org.slf4j.helpers.NOPMakerAdapter;
import org.slf4j.spi.MDCAdapter;
/**
* This implementation is bound to {@link NOPMakerAdapter}.
*
* @author Ceki Gülcü
*/
public class StaticMDCBinder {
/**
* The unique instance of this class.
*/
public static final StaticMDCBinder SINGLETON = new StaticMDCBinder();
private StaticMDCBinder() {
}
/**
* Currently this method always returns an instance of
* {@link StaticMDCBinder}.
*/
public MDCAdapter getMDCA() {
return new NOPMakerAdapter();
}
public String getMDCAdapterClassStr() {
return NOPMakerAdapter.class.getName();
}
}