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