Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to trace-based logging #1562

Closed
wants to merge 2 commits into from

Conversation

PoignardAzur
Copy link
Collaborator

  • Add dependency to tracing
  • Convert log::foobar calls to tracing::foobar
  • Remove default dependency to log
  • Add default-logger feature
  • Add dev-dependency to test-env-log
  • Replace console_log with tracing-wasm

@PoignardAzur
Copy link
Collaborator Author

Quick note: I haven't actually tested the changes on a Windows, MacOs or wasm32 platform.

I have ran cargo check on the above targets, which helped me find a lot of small errors; rustc is pretty good with this.

* Add dependency to `tracing`
* Convert `log::foobar` calls to `tracing::foobar`
* Remove default dependency to `log`
* Add `default-logger` feature
* Add dev-dependency to `test-env-log`
* Replace `console_log` with `tracing-wasm`
@PoignardAzur
Copy link
Collaborator Author

PoignardAzur commented Feb 5, 2021

@raphlinus The CI gives me

Error: failed to run custom build command for `pango-sys v0.10.0`

Any idea what that means?

@raphlinus
Copy link
Contributor

Unfortunately I do not. It seems likely unrelated to your trace PR, but it would take some digging to figure out what's going wrong here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants