+The main purpose of this release is to introduce a new logging facade, [`com.launchdarkly.logging`](https://github.com/launchdarkly/java-logging), to streamline how logging works in LaunchDarkly Java and Android code. Previously, `okhttp-eventsource` used SLF4J for logging by default, but could be made to send output to a `Logger` interface of its own; the LaunchDarkly Java SDK used only SLF4J, so developers needed to provide an SLF4J configuration externally; and the LaunchDarkly Android SDK used Timber, but still brought in SLF4J as a transitive dependency of `okhttp-eventsource`. In this release, the default behavior is still to use SLF4J, but the logging facade can also be configured programmatically to do simple console logging without SLF4J, or to forward output to another framework such as `java.util.logging`, or other destinations. In a future major version release, the default behavior will be changed so that `okhttp-eventsource` does not require SLF4J as a dependency.
0 commit comments