no-debug-output
WarningWarningWarningWarningRemove debug output: println!/dbg!, console.log/debugger, print/debugPrint, or System.out/printStackTrace.
fn run() { println!("starting");}fn run() { let value = dbg!(compute());}fn run() { tracing::debug!("starting");}console.log("ready");function run() { debugger;}logger.info("ready");console.error("failed");void run() { print("ready");}void run() { debugPrint("ready");}void run() { logger.info("ready");}class A { void run() { System.out.println("ready"); }}class A { void run() { try {} catch (Exception error) { error.printStackTrace(); } }}class A { void run() { logger.info("ready"); }}How to fix
tracing::debug! and the other levels respect the subscriber's filters.
How to fix
console.error and console.warn are allowed.
How to fix
Use the project's logger for diagnostic messages.