console-web
is a tiny crate to make it easy to write messages to the console when using wasm-bindgen. There are 4 macros - 2 that look like macros from std, and 2 that look like javascript methods. Take your pick :).
EDIT - I'm using nightly and edition = 2018
.