Skip to content

println! not printing to console #379

Open
@ilyvion

Description

@ilyvion

The console! macro documentation says

If you want to print things to the console in a standardized way, use println! instead.

But when I use println!, I don't get any output in the console.

All I've done is cargo new foobar, add stdweb="0.4.20" to my Cargo.toml, and do cargo web start, and all it ever says in console is

Finished loading Rust wasm module 'foobar'

I know it's otherwise working, though, because other code I put in there does stuff, like using stdweb::console!(log, "Hello World!"); instead of println! prints to console just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions