Skip to content

Commit

Permalink
Merge pull request #12 from storyscript/readme-clarification
Browse files Browse the repository at this point in the history
add clarifying note to README.
  • Loading branch information
llogiq authored Oct 7, 2020
2 parents 259e118 + e35b182 commit bbeca39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Leverage performance profiling with your browser tools with the [tracing crate](

![Screenshot of performance reported using the `tracing-wasm` Subscriber](./2020-07-10-devtools-demo-screenshot.png)

Note: `tracing_wasm` uses the global JavaScript `console` and `performance` objects. It will not work in environments where one or both of these are not available, such as Node.js or Cloudflare Workers.

## Usage

For the simplest out of the box set-up, you can simply set `tracing_wasm` as your default tracing Subscriber in wasm_bindgen(start)
Expand Down

0 comments on commit bbeca39

Please sign in to comment.