Migrate Fissore SLF4J Fluent to SLF4J
MSALMigrate org.fissore:slf4j-fluent to org.slf4j:slf4j-api 2.x, preserving lazy messages, lazy arguments and exception causes. SLF4J 1.x providers in the migrated modules and in the modules depending on them are moved to their SLF4J 2.x counterparts: org.slf4j artifacts to 2.x, slf4j-log4j12 to slf4j-reload4j, log4j-slf4j-impl to log4j-slf4j2-impl and Logback to 1.3.x (Java 8) or 1.5.x (Java 11+). Rate limiting, marker-specific level checks, reusable marker mutations, argument arrays, arguments that may hold a Supplier at runtime, side effects around suppliers, subclasses and unsupported API usages are marked for manual migration, as are Spring Boot 2.x, slf4j-jcl and SLF4J 1.x providers whose version is not declared in the module's own build file. If any such usages are found, source and dependency migration is withheld for the entire recipe run.
org. openrewrite. java. logging. slf4j. Slf4jFluentToSlf4jmod run . --recipe= org. openrewrite. java. logging. slf4j. Slf4jFluentToSlf4jInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.