Find if (log.isErrorEnabled) ... guards

Proprietary

Errors are practically always enabled. The guard suggests the code was once shared with debug/trace machinery — drop it.

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