1 unstable release
0.1.0 | Dec 15, 2020 |
---|
#991 in WebAssembly
4KB
Alternative to dbg!()
but prints using log::debug!()
so that it works on WASM and other non-std targets.
// WASM example
use debug::debug;
wasm_logger::init(wasm_logger::Config::default());
debug!();