Use logging framework instead of printStackTrace

Proprietary

Finds .printStackTrace calls. Use a logging framework instead of writing directly to System.err.

org.openrewrite.scala.cleanup.UseLoggerForExceptions
mod run . --recipe=org.openrewrite.scala.cleanup.UseLoggerForExceptions

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.