当前位置: 首页>>代码示例>>Java>>正文


Java BasicMDCAdapter类代码示例

本文整理汇总了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();
}
 
开发者ID:suninformation,项目名称:ymate-platform-v2,代码行数:4,代码来源:StaticMDCBinder.java

示例2: getMDCAdapterClassStr

import org.slf4j.helpers.BasicMDCAdapter; //导入依赖的package包/类
public String getMDCAdapterClassStr() {
    return BasicMDCAdapter.class.getName();
}
 
开发者ID:suninformation,项目名称:ymate-platform-v2,代码行数:4,代码来源:StaticMDCBinder.java

示例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();
}
 
开发者ID:cscfa,项目名称:bartleby,代码行数:10,代码来源:StaticMDCBinder.java

示例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();
}
 
开发者ID:SSEHUB,项目名称:EASyProducer,代码行数:10,代码来源:StaticMDCBinder.java

示例5: getMDCAdapterClassStr

import org.slf4j.helpers.BasicMDCAdapter; //导入依赖的package包/类
public String  getMDCAdapterClassStr() {
  return BasicMDCAdapter.class.getName();
}
 
开发者ID:SSEHUB,项目名称:EASyProducer,代码行数:4,代码来源:StaticMDCBinder.java

示例6: getMDCA

import org.slf4j.helpers.BasicMDCAdapter; //导入依赖的package包/类
public MDCAdapter getMDCA() {
   return new BasicMDCAdapter();
}
 
开发者ID:consulo,项目名称:consulo,代码行数:4,代码来源:StaticMDCBinder.java

示例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();
}
 
开发者ID:PSDev,项目名称:slf4j-android-logger,代码行数:12,代码来源:StaticMDCBinder.java


注:本文中的org.slf4j.helpers.BasicMDCAdapter类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。