public final class Slf4jBridge extends Object
SLF4JBridgeHandler| Modifier and Type | Class and Description |
|---|---|
static interface |
Slf4jBridge.Helper |
| Constructor and Description |
|---|
Slf4jBridge() |
| Modifier and Type | Method and Description |
|---|---|
static Slf4jBridge.Helper |
createHelper()
Returns a Helper instance that can be used to install/uninstall the JUL->SLF4J bridge.
|
public static Slf4jBridge.Helper createHelper()
org.slf4j.bridge.SLF4JBridgeHandler before using it, so it is safe to
use in an OSGi environment where the class may or may not be present.
If the SLF4J bridge is found, then the helper can be used to install and uninstall the bridge in the thread context class loader (TCCL). If the bridge is not found then the helper's operations are no-ops.
Copyright © 2016 Atlassian. All rights reserved.