debug-macro 0.1.0

dbg! that uses log
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 0 items with examples
  • Size
  • Source code size: 8.62 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 974.38 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • MakotoE/debug-macro
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • MakotoE

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!();