public final class SLF4JLoggerBridgeFactory extends Object implements ch.agent.util.logging.LoggerBridgeFactory
To use it, include something like this early in your code or use the equivalent on the java invocation command line:
static {
System.setProperty(
"LoggerBridgeFactory",
"ch.agent.util.logging.SLF4JLoggerBridgeFactory");
}
| Modifier and Type | Method and Description |
|---|---|
static SLF4JLoggerBridgeFactory |
getInstance()
Get the factory singleton.
|
ch.agent.util.logging.LoggerBridge |
getLogger(Class<?> klass) |
ch.agent.util.logging.LoggerBridge |
getLogger(String name) |
public static SLF4JLoggerBridgeFactory getInstance()
public ch.agent.util.logging.LoggerBridge getLogger(String name)
getLogger in interface ch.agent.util.logging.LoggerBridgeFactorypublic ch.agent.util.logging.LoggerBridge getLogger(Class<?> klass)
getLogger in interface ch.agent.util.logging.LoggerBridgeFactoryCopyright © 2018. All rights reserved.