google / flogger

A Fluent Logging API for Java
Apache License 2.0
1.45k stars 123 forks source link

Removing generic type from aliased with method signature. #349

Closed copybara-service[bot] closed 1 year ago

copybara-service[bot] commented 1 year ago

Removing generic type from aliased with method signature.

Kotlin callers currently need to specify a type to call the aliased with method:

logger.atInfo().with(MetadataKey).log();

Instead, callers should not have to specify a type:

logger.atInfo().with(MetadataKey).log();

RELNOTES=Remove generic type from convenience LoggingApi#with method signature. This is a SOURCE-INCOMPATIBLE change for Kotlin clients, since those will have had to supply a useless type parameter and will now have to delete it.