Class Slf4jBackendFactory
- java.lang.Object
-
- com.google.common.flogger.backend.system.BackendFactory
-
- com.google.common.flogger.backend.slf4j.Slf4jBackendFactory
-
public final class Slf4jBackendFactory extends com.google.common.flogger.backend.system.BackendFactoryBackendFactory 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.LoggerBackendcreate(java.lang.String loggingClassName)static com.google.common.flogger.backend.system.BackendFactorygetInstance()This method is expected to be called via reflection (and might otherwise be unused).java.lang.StringtoString()
-
-
-
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:
createin classcom.google.common.flogger.backend.system.BackendFactory
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-