下面列出了怎么用org.slf4j.helpers.BasicMDCAdapter的API类实例代码及写法,或者点击链接到github查看源代码。
public MDCAdapter getMDCA() {
return new BasicMDCAdapter();
}
public String getMDCAdapterClassStr() {
return BasicMDCAdapter.class.getName();
}
public MDCAdapter getMDCA() {
return new BasicMDCAdapter();
}
public String getMDCAdapterClassStr() {
return BasicMDCAdapter.class.getName();
}
@Override
public void initialize() {
this.loggerFactory = new Slf4jEclipseLoggerFactory();
this.markerFactory = new BasicMarkerFactory();
this.mdc = new BasicMDCAdapter();
}
public MDCAdapter getMDCA() {
return new BasicMDCAdapter();
}
public String getMDCAdapterClassStr() {
return BasicMDCAdapter.class.getName();
}