本文整理汇总了Java中org.slf4j.helpers.BasicMDCAdapter类的典型用法代码示例。如果您正苦于以下问题:Java BasicMDCAdapter类的具体用法?Java BasicMDCAdapter怎么用?Java BasicMDCAdapter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
BasicMDCAdapter类属于org.slf4j.helpers包,在下文中一共展示了BasicMDCAdapter类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getMDCA
import org.slf4j.helpers.BasicMDCAdapter; //导入依赖的package包/类
public MDCAdapter getMDCA() {
return new BasicMDCAdapter();
}
示例2: getMDCAdapterClassStr
import org.slf4j.helpers.BasicMDCAdapter; //导入依赖的package包/类
public String getMDCAdapterClassStr() {
return BasicMDCAdapter.class.getName();
}
示例3: getMDCA
import org.slf4j.helpers.BasicMDCAdapter; //导入依赖的package包/类
/**
* Currently this method always returns an instance of
* {@link BasicMDCAdapter}.
*/
public MDCAdapter getMDCA() {
// note that this method is invoked only from within the static initializer of
// the org.slf4j.MDC class.
return new BasicMDCAdapter();
}
示例4: getMDCA
import org.slf4j.helpers.BasicMDCAdapter; //导入依赖的package包/类
/**
* Currently this method always returns an instance of
* {@link BasicMDCAdapter}.
*/
public MDCAdapter getMDCA() {
// note that this method is invoked only from within the static initializer of
// the org.slf4j.MDC class.
return new BasicMDCAdapter();
}
示例5: getMDCAdapterClassStr
import org.slf4j.helpers.BasicMDCAdapter; //导入依赖的package包/类
public String getMDCAdapterClassStr() {
return BasicMDCAdapter.class.getName();
}
示例6: getMDCA
import org.slf4j.helpers.BasicMDCAdapter; //导入依赖的package包/类
public MDCAdapter getMDCA() {
return new BasicMDCAdapter();
}
示例7: getMDCA
import org.slf4j.helpers.BasicMDCAdapter; //导入依赖的package包/类
/**
* Currently this method always returns an instance of
* {@link org.slf4j.helpers.BasicMDCAdapter}.
*
* @return returns an instance of {@link org.slf4j.helpers.BasicMDCAdapter}.
*/
public MDCAdapter getMDCA() {
// note that this method is invoked only from within the static initializer of
// the org.slf4j.MDC class.
return new BasicMDCAdapter();
}