Crates.io | browser_tools |
lib.rs | browser_tools |
version | 0.2.0 |
source | src |
created_at | 2024-09-11 12:26:11.568271 |
updated_at | 2024-09-11 12:26:11.568271 |
description | Utility to log in wasm/browser |
homepage | |
repository | https://github.com/Wandalen/cg_tools |
max_upload_size | |
id | 1371898 |
size | 2,765 |
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_tools = "0.2"