Docs.rs
wasm-log-0.3.1
wasm-log 0.3.1
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
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
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
wasm_
log
0.3.1
All Items
Crate Items
Structs
Enums
Functions
Crate
wasm_log
Copy item path
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
§
Message
Location
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.