The new version v3.9.5 no longer accepts the varargs logging methods being wrapped, so a class like such will fail to compile:
class LogWrapper (val underlying: Logger) {
// Imagine some DataDog/Bugsnag/analytics/etc. magic here that'd justify wrapping the logger
def info(message: String, args: AnyRef*): Unit = underlying.info(message, args: _*)
}
I've create a minimal replication repo, based on the SBT hello world template, to demonstrate how the code no longer compiles in v3.9.5.
The new version v3.9.5 no longer accepts the varargs logging methods being wrapped, so a class like such will fail to compile:
I've create a minimal replication repo, based on the SBT hello world template, to demonstrate how the code no longer compiles in v3.9.5.