Replace deprecated JBoss Logging Logger formatted message invocations with the v-version of methods

MSAL

Replace logger.level("hello {0}", arg) with logger.levelv("hello {0}", arg).

org.openrewrite.java.logging.jboss.FormattedArgumentsToVMethodRecipes
mod run . --recipe=org.openrewrite.java.logging.jboss.FormattedArgumentsToVMethodRecipes

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. Refaster template FormattedArgumentsToVMethod.TraceToVTrace
  2. Refaster template FormattedArgumentsToVMethod.TraceToVTraceWithThrowable
  3. Refaster template FormattedArgumentsToVMethod.DebugToVDebug
  4. Refaster template FormattedArgumentsToVMethod.DebugToVDebugWithThrowable
  5. Refaster template FormattedArgumentsToVMethod.InfoToVInfo
  6. Refaster template FormattedArgumentsToVMethod.InfoToVInfoWithThrowable
  7. Refaster template FormattedArgumentsToVMethod.WarnToVWarn
  8. Refaster template FormattedArgumentsToVMethod.WarnToVWarnWithThrowable
  9. Refaster template FormattedArgumentsToVMethod.ErrorToVError
  10. Refaster template FormattedArgumentsToVMethod.ErrorToVErrorWithThrowable
  11. Refaster template FormattedArgumentsToVMethod.FatalToVFatal
  12. Refaster template FormattedArgumentsToVMethod.FatalToVFatalWithThrowable