Use logger instead of system print statements
MSALReplace System.out and System.err print statements with a logger.
org. openrewrite. java. logging. SystemPrintToLoggingOptional
addLoggerBoolean
Add a logger field to the class if it isn't already present.
The name of the logger to use when generating a field.
The logging framework to use.
The logging level to turn System.out print statements into.
mod run . --recipe= org. openrewrite. java. logging. SystemPrintToLoggingInstall 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.