For static methods it looks like this:
```
try {
  // We use reflection here to handle the case where users remove the 
  // slf4j-to-jul bridge order to route their logs to JUL.
  val bridgeClass = Class.forName("org.slf4j.bridge.SLF4JBridgeHandler")
  bridgeClass.getMethod("removeHandlersForRootLogger").invoke(null)
  val installed = bridgeClass.getMethod("isInstalled").invoke(null).asInstanceOf[Boolean]
  if (!installed) {
    bridgeClass.getMethod("install").invoke(null)
  }
} catch {
  case e: Exception => // can't log anything yet so just fail silently
}
```