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