Crates.io | debug-macro |
lib.rs | debug-macro |
version | 0.1.0 |
source | src |
created_at | 2020-12-15 06:47:57.149383 |
updated_at | 2020-12-15 06:47:57.149383 |
description | dbg! that uses log |
homepage | |
repository | https://github.com/MakotoE/debug |
max_upload_size | |
id | 323000 |
size | 8,993 |
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!();