debug-macro

Crates.iodebug-macro
lib.rsdebug-macro
version0.1.0
sourcesrc
created_at2020-12-15 06:47:57.149383
updated_at2020-12-15 06:47:57.149383
descriptiondbg! that uses log
homepage
repositoryhttps://github.com/MakotoE/debug
max_upload_size
id323000
size8,993
Makoto (MakotoE)

documentation

README

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!();
Commit count: 6

cargo fmt