Class StaticMDCBinder


  • public final class StaticMDCBinder
    extends java.lang.Object
    • Field Detail

      • SINGLETON

        public static final StaticMDCBinder SINGLETON
        The unique instance of this class.
    • Constructor Detail

      • StaticMDCBinder

        private StaticMDCBinder()
    • Method Detail

      • getSingleton

        public static StaticMDCBinder getSingleton()
        Returns the SINGLETON StaticMDCBinder. Added to slf4j-api 1.7.14 via https://github.com/qos-ch/slf4j/commit/ea3cca72cd5a9329a06b788317a17e806ee8acd0
        Returns:
        the singleton instance
      • getMDCA

        public org.slf4j.spi.MDCAdapter getMDCA()
        Currently this method always returns an instance of StaticMDCBinder.
        Returns:
        an MDC adapter
      • getMDCAdapterClassStr

        public java.lang.String getMDCAdapterClassStr()
        Retrieve the adapter class name.
        Returns:
        The adapter class name.