Find if (log.isErrorEnabled) ... guards
ProprietaryErrors are practically always enabled. The guard suggests the code was once shared with debug/trace machinery — drop it.
org. openrewrite. kotlin. logging. FindIsErrorEnabledGuard$KtRecipemod 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.