All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.slf4j.impl.StaticMDCBinder Maven / Gradle / Ivy

There is a newer version: 1.2
Show newest version
package org.slf4j.impl;

import org.slf4j.spi.MDCAdapter;


/**
 * This class is only a stub. Real implementations are found in 
 * each SLF4J binding project, e.g. slf4j-nop, slf4j-log4j12 etc.
 *
 * @author Ceki Gülcü
 */
public class StaticMDCBinder {

  
  /**
   * The unique instance of this class.
   */
  public static final StaticMDCBinder SINGLETON = new StaticMDCBinder();

  private StaticMDCBinder() {
    throw new UnsupportedOperationException("This code should never make it into the jar");
  }
  
  /**
   * Currently this method always returns an instance of 
   * {@link StaticMDCBinder}.
   */
  public MDCAdapter getMDCA() {
    throw new UnsupportedOperationException("This code should never make it into the jar");
  }
  
  public String  getMDCAdapterClassStr() {
    throw new UnsupportedOperationException("This code should never make it into the jar");
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy