Docs.rs
wasm-log-0.3.1
wasm-log 0.3.1
Permalink
Docs.rs crate page
MIT OR Apache-2.0
Links
Documentation
Repository
Crates.io
Source
Owners
s1gtrap
Dependencies
log ^0.4
normal
wasm-bindgen ^0.2
normal
web-sys ^0.3
normal
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Crate wasm_log
Version 0.3.1
All Items
Structs
Enums
Functions
?
Crate
wasm_log
source
·
[
−
]
Expand description
A simple logger for front end wasm web app.
Please see
README
for documentation.
Structs
Config
Specify what to be logged
Enums
MessageLocation
Specify where the message will be logged.
Functions
init
Initialize the logger which the given config. If failed, it will log a message to the the browser console.
try_init
Attempt to initialize the logger with the given config.