code: private static IMarkerFactory bwCompatibleGetMarkerFactoryFromBinder() throws NoClassDefFoundError {
          try {
              return StaticMarkerBinder.getSingleton().getMarkerFactory();
          } catch (NoSuchMethodError nsme) {
              // binding is probably a version of SLF4J older than 1.7.14
              return StaticMarkerBinder.SINGLETON.getMarkerFactory();
          }
      }
docs: As of SLF4J version 1.7.14, StaticMarkerBinder classes shipping in various bindings
  come with a getSingleton() method. Previously only a public field called SINGLETON
  was available.
  
  @return IMarkerFactory
  @throws NoClassDefFoundError in case no binding is available
  @since 1.7.14