gloo-console 0.3.0

Convenience crate for working with browser's console
Documentation
<div align="center">

  <h1><code>gloo-console</code></h1>

  <p>
    <a href="https://crates.io/crates/gloo-console"><img src="https://img.shields.io/crates/v/gloo-console.svg?style=flat-square" alt="Crates.io version" /></a>
    <a href="https://crates.io/crates/gloo-console"><img src="https://img.shields.io/crates/d/gloo-console.svg?style=flat-square" alt="Download" /></a>
    <a href="https://docs.rs/gloo-console"><img src="https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square" alt="docs.rs docs" /></a>
  </p>

  <h3>
    <a href="https://docs.rs/gloo-console">API Docs</a>
    <span> | </span>
    <a href="https://github.com/rustwasm/gloo/blob/master/CONTRIBUTING.md">Contributing</a>
    <span> | </span>
    <a href="https://discordapp.com/channels/442252698964721669/443151097398296587">Chat</a>
  </h3>

<sub>Built with 🦀🕸 by <a href="https://rustwasm.github.io/">The Rust and WebAssembly Working Group</a></sub>
</div>

The JavaScript's `console` object provides access to the browser's console.
Using the `console` object in Rust/WASM directly is cumbersome as it requires JavaScript glue code.
This crate exists to solve this problem by providing a set of ergonomic Rust APIs to deal
with the browser console.

# Example

The following example logs text to the console using `console.log`

```rust
use gloo_console::log;
let object = JsValue::from("any JsValue can be logged");
log!("text", object);
```