Refaster template FormattedArgumentsToVMethod.ErrorToVError
MSALRecipe created for the following Refaster template:
public static class ErrorToVError {
@BeforeTemplate
void before(Logger logger, String message, Object[] args) {
logger.error(message, args);
}
@AfterTemplate
void after(Logger logger, String message, Object[] args) {
logger.errorv(message, args);
}
}.
org. openrewrite. java. logging. jboss. FormattedArgumentsToVMethodRecipes$ErrorToVErrorRecipemod run . --recipe= 'org. openrewrite. java. logging. jboss. FormattedArgumentsToVMethodRecipes$ErrorToVErrorRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.