Find logging calls in @Composable bodies
Proprietaryandroid.util.Log/println inside a @Composable body runs on every recomposition — often dozens of times during a single user interaction — producing log spam and disguising real telemetry. Move the call into a SideEffect { } (or a LaunchedEffect(key) { }) so it fires once per successful composition, or out of the composable entirely.
org. openrewrite. kotlin. compose. FindSideEffectInComposableBody$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. compose. FindSideEffectInComposableBody$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.