Crates.io | browser_log |
lib.rs | browser_log |
version | 0.3.0 |
source | src |
created_at | 2024-09-08 19:27:12.705232 |
updated_at | 2024-10-28 10:57:31.520303 |
description | Utility to log in wasm/browser |
homepage | |
repository | https://github.com/Wandalen/cg_tools |
max_upload_size | |
id | 1368478 |
size | 16,323 |
Utility to log in wasm/browser.
It integrates with JavaScript's console
API to output log messages with varying levels of severity, enhancing the visibility and management of log data in web environments.
Also this crate provides a debugging utility for Rust applications compiled to WebAssembly (wasm32-unknown-unknown
). It redirects panic messages to JavaScript's console.error
, enhancing error visibility in web browsers and Node.js environments.
Add the following to your Cargo.toml
:
[dependencies]
browser_log = "0.2"