Replace deprecated util.log() with console.log()
Recipe ID
org.openrewrite.node.migrate.util.replace-util-logArtifact@openrewrite/recipes-nodejsReplace deprecated util.log() calls with console.log(). Note: util.log() included timestamps, but console.log() does not.
Single recipeDEP0059Proprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.node.migrate.util.replace-util-logIf the recipe isn’t available locally, install it with:
mod config recipes npm install @openrewrite/recipes-nodejs