mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-18 05:30:33 -04:00
Format README.md
This commit is contained in:
@@ -189,12 +189,12 @@ to learn more about the `RUST_LOG`/`MATRIX_LOG` environment variable.
|
||||
To use tracing in client applications that import these bindings, here's how to do it in
|
||||
a local development environment:
|
||||
|
||||
- In this directory, run `npm link` to make your local build of the bindings available to
|
||||
other Node projects on your system
|
||||
- In your client app's source directory, run `npm link @matrix-org/matrix-sdk-crypto-nodejs`
|
||||
to make it use your trace-enabled local build of the bindings
|
||||
- In your client app's source code, add a call to `initTracing` near startup time
|
||||
- Run your app with the `MATRIX_LOG` environment variable set to the desired log level
|
||||
- In this directory, run `npm link` to make your local build of the bindings available to
|
||||
other Node projects on your system
|
||||
- In your client app's source directory, run `npm link @matrix-org/matrix-sdk-crypto-nodejs`
|
||||
to make it use your trace-enabled local build of the bindings
|
||||
- In your client app's source code, add a call to `initTracing` near startup time
|
||||
- Run your app with the `MATRIX_LOG` environment variable set to the desired log level
|
||||
|
||||
Either `npm link` command may be substituted with `yarn link`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user