Find top-level/companion logger fields named log

Proprietary

Both log and logger are common — pick one and stick with it across the codebase. The naming convention is the only thing that lets a reader skim a file and spot the logger declaration in two seconds. Flag log-named declarations so the team can confirm the project convention.

org.openrewrite.kotlin.logging.FindLoggerFieldNamedLog$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.logging.FindLoggerFieldNamedLog$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.