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