Class Slf4jBackendFactory


  • public final class Slf4jBackendFactory
    extends com.google.common.flogger.backend.system.BackendFactory
    BackendFactory for SLF4J.

    To configure this backend for Flogger set the following system property (also see DefaultPlatform):

    • flogger.backend_factory= com.google.common.flogger.backend.slf4j.Slf4jBackendFactory#getInstance.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.common.flogger.backend.LoggerBackend create​(java.lang.String loggingClassName)  
      static com.google.common.flogger.backend.system.BackendFactory getInstance()
      This method is expected to be called via reflection (and might otherwise be unused).
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getInstance

        public static com.google.common.flogger.backend.system.BackendFactory getInstance()
        This method is expected to be called via reflection (and might otherwise be unused).
      • create

        public com.google.common.flogger.backend.LoggerBackend create​(java.lang.String loggingClassName)
        Specified by:
        create in class com.google.common.flogger.backend.system.BackendFactory
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object