Class StaticMarkerBinder

java.lang.Object
org.slf4j.impl.StaticMarkerBinder
All Implemented Interfaces:
org.slf4j.spi.MarkerFactoryBinder

public class StaticMarkerBinder extends 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 Details

    • SINGLETON

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

      private final org.slf4j.IMarkerFactory markerFactory
  • Constructor Details

    • StaticMarkerBinder

      public StaticMarkerBinder()
  • Method Details

    • 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 String getMarkerFactoryClassStr()
      Specified by:
      getMarkerFactoryClassStr in interface org.slf4j.spi.MarkerFactoryBinder