Use @Slf4j instead of explicit fields

MSAL

Prefer the Lombok annotation @Slf4j over explicitly written out org.slf4j.Logger fields.

org.openrewrite.java.migrate.lombok.log.UseSlf4j

Optional

Name of the log field to replace. If not specified, the field name is not checked and any field that satisfies the other checks is converted.

mod run . --recipe=org.openrewrite.java.migrate.lombok.log.UseSlf4j

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.