A logger that sends Rust log messages with source line and filename to the browser console.
# Cargo.toml
[dependencies]
wasm-logger = "0.2.0"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize the wasm-logger to forward log messages to the browser console.
Conditionally compile with cfg(target_arch = "wasm32") or use a fallback logger for non-WASM targets.
No dependency data recorded yet.