public final class Log4j2BackendFactory
extends com.google.common.flogger.backend.system.BackendFactory
To configure this backend for Flogger set the following system property (also see DefaultPlatform):
flogger.backend_factory=
com.google.common.flogger.backend.log4j2.Log4j2BackendFactory#getInstance
| Modifier and Type | Method and 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() |
public static com.google.common.flogger.backend.system.BackendFactory getInstance()
public com.google.common.flogger.backend.LoggerBackend create(java.lang.String loggingClassName)
create in class com.google.common.flogger.backend.system.BackendFactorypublic java.lang.String toString()
toString in class java.lang.Object