Use Lombok logger annotations instead of explicit fields

MSAL

Applies all recipes that replace logger declarations with class level annotations.

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

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

Recipe list

It runs these recipes, in this order.

  1. Use @CommonsLog instead of explicit fields
  2. Use @JBossLog instead of explicit fields
  3. Use @Log instead of explicit fields
  4. Use @Log4j2 instead of explicit fields
  5. Use @Slf4j instead of explicit fields