Find if (log.isWarnEnabled) ... guards

Proprietary

Warning logs are nearly always enabled. The guard is almost certainly dead code — drop it and use the parameterized form.

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