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.When using Flogger's
DefaultPlatform, this factory will automatically be used if it is included on the classpath and no other implementation ofBackendFactory(other than the default implementation) is. To specify it more explicitly or to work around an issue where multipleBackendFactoryimplementations are on the classpath, you can set theflogger.backend_factorysystem property:flogger.backend_factory=com.google.common.flogger.backend.slf4j.Slf4jBackendFactory
-
-
Constructor Summary
Constructors Constructor Description Slf4jBackendFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.flogger.backend.LoggerBackendcreate(java.lang.String loggingClassName)java.lang.StringtoString()
-