Class StaticMarkerBinder

  • All Implemented Interfaces:
    org.slf4j.spi.MarkerFactoryBinder

    public class StaticMarkerBinder
    extends java.lang.Object
    implements org.slf4j.spi.MarkerFactoryBinder
    SLF4J MarkerFactoryBinder implementation using Log4j. This class is part of the required classes used to specify an SLF4J logging provider implementation.
    • Field Detail

      • SINGLETON

        public static final StaticMarkerBinder SINGLETON
        The unique instance of this class.
      • markerFactory

        private final org.slf4j.IMarkerFactory markerFactory
    • Constructor Detail

      • StaticMarkerBinder

        public StaticMarkerBinder()
    • Method Detail

      • getSingleton

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

        public org.slf4j.IMarkerFactory getMarkerFactory()
        Specified by:
        getMarkerFactory in interface org.slf4j.spi.MarkerFactoryBinder
      • getMarkerFactoryClassStr

        public java.lang.String getMarkerFactoryClassStr()
        Specified by:
        getMarkerFactoryClassStr in interface org.slf4j.spi.MarkerFactoryBinder