Replace deprecated JBoss Logging Logger formatted message invocations with the v-version of methods
MSALReplace logger.level("hello {0}", arg) with logger.levelv("hello {0}", arg).
org. openrewrite. java. logging. jboss. FormattedArgumentsToVMethodRecipesmod run . --recipe= org. openrewrite. java. logging. jboss. FormattedArgumentsToVMethodRecipesInstall 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.
- Refaster template
FormattedArgumentsToVMethod.TraceToVTrace - Refaster template
FormattedArgumentsToVMethod.TraceToVTraceWithThrowable - Refaster template
FormattedArgumentsToVMethod.DebugToVDebug - Refaster template
FormattedArgumentsToVMethod.DebugToVDebugWithThrowable - Refaster template
FormattedArgumentsToVMethod.InfoToVInfo - Refaster template
FormattedArgumentsToVMethod.InfoToVInfoWithThrowable - Refaster template
FormattedArgumentsToVMethod.WarnToVWarn - Refaster template
FormattedArgumentsToVMethod.WarnToVWarnWithThrowable - Refaster template
FormattedArgumentsToVMethod.ErrorToVError - Refaster template
FormattedArgumentsToVMethod.ErrorToVErrorWithThrowable - Refaster template
FormattedArgumentsToVMethod.FatalToVFatal - Refaster template
FormattedArgumentsToVMethod.FatalToVFatalWithThrowable