org.slf4j.helpers.BasicMDCAdapter Java Examples

The following examples show how to use org.slf4j.helpers.BasicMDCAdapter. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: StaticMDCBinder.java    From component-runtime with Apache License 2.0 4 votes vote down vote up
public MDCAdapter getMDCA() {
    return new BasicMDCAdapter();
}
 
Example #2
Source File: StaticMDCBinder.java    From component-runtime with Apache License 2.0 4 votes vote down vote up
public String getMDCAdapterClassStr() {
    return BasicMDCAdapter.class.getName();
}
 
Example #3
Source File: StaticMDCBinder.java    From ymate-platform-v2 with Apache License 2.0 4 votes vote down vote up
public MDCAdapter getMDCA() {
    return new BasicMDCAdapter();
}
 
Example #4
Source File: StaticMDCBinder.java    From ymate-platform-v2 with Apache License 2.0 4 votes vote down vote up
public String getMDCAdapterClassStr() {
    return BasicMDCAdapter.class.getName();
}
 
Example #5
Source File: Slf4jEclipseLoggerServiceProvider.java    From sarl with Apache License 2.0 4 votes vote down vote up
@Override
public void initialize() {
	this.loggerFactory = new Slf4jEclipseLoggerFactory();
	this.markerFactory = new BasicMarkerFactory();
	this.mdc = new BasicMDCAdapter();
}
 
Example #6
Source File: StaticMDCBinder.java    From consulo with Apache License 2.0 4 votes vote down vote up
public MDCAdapter getMDCA() {
   return new BasicMDCAdapter();
}
 
Example #7
Source File: StaticMDCBinder.java    From consulo with Apache License 2.0 4 votes vote down vote up
public String  getMDCAdapterClassStr() {
  return BasicMDCAdapter.class.getName();
}