mirror of
https://github.com/androidx/media.git
synced 2025-05-12 10:09:55 +08:00

This is a breaking change, but the alternatives seem either equally breaking or worse, since the only way to make this non-breaking is to add the `Throwable` overloads as `default` methods. It's then unclear how we would ever migrate to these being the 'only' methods or whether we'd have to keep both forms forever (which results in duplication in the `Logger` implementations). The clean break here also makes it clear that the `message` parameter of `Log.Logger.{d,i,w,w}()` no longer automatically includes any info from the `Throwable` passed to the static `Log.{d,i,w,e}() methods. ---- This CL also cleans up the javadoc on the static `Log.{d,w,i,e}` methods since they no longer necessarily call straight through to the corresponding `android.util.Log` methods (and haven't since <unknown commit> and Issue: google/ExoPlayer#10185). PiperOrigin-RevId: 537817974