Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit cde26ad

Browse files
committed
Add the console_log crate to "Crates You Should Know"
1 parent 7cdec71 commit cde26ad

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/reference/crates.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,19 @@ standard ECMAScript environments, not just the Web, such as Node.js.
3232
Raw `wasm-bindgen` imports for all the Web's APIs, such as DOM manipulation,
3333
`setTimeout`, Web GL, Web Audio, etc.
3434

35-
## Error Reporting
35+
## Error Reporting and Logging
3636

3737
### `console_error_panic_hook` | [crates.io](https://crates.io/crates/console_error_panic_hook) | [repository](https://github.com/rustwasm/console_error_panic_hook)
3838

3939
This crate lets you debug panics on `wasm32-unknown-unknown` by providing a
4040
panic hook that forwards panic messages to `console.error`.
4141

42+
### `console_log` | [crates.io](https://crates.io/crates/console_log) | [repository](https://github.com/iamcodemaker/console_log)
43+
44+
This crate provides a backend for [the `log`
45+
crate](https://crates.io/crates/log) that routes logged messages to the devtools
46+
console.
47+
4248
## Dynamic Allocation
4349

4450
### `wee_alloc` | [crates.io](https://crates.io/crates/wee_alloc) | [repository](https://github.com/rustwasm/wee_alloc)

0 commit comments

Comments
 (0)