Find eager string interpolation in log.info(...)
Proprietarylog.info("x=$x") evaluates the template eagerly. If your application turns info off in production, the toString() calls inside the template still run. Use the lambda form (kotlin-logging) or the SLF4J {} placeholder form.
org. openrewrite. kotlin. logging. FindEagerStringInterpolationInLogInfo$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. logging. FindEagerStringInterpolationInLogInfo$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.