Use logger instead of System.out print statements
MSALReplace System.out print statements with a logger.
org. openrewrite. java. logging. SystemOutToLoggingOptional
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. SystemOutToLoggingInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.