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

fix(browser-webrtc-example): use tracing-wasm logger #4952

Merged
merged 4 commits into from
Nov 29, 2023

Conversation

DougAnderson444
Copy link
Contributor

@DougAnderson444 DougAnderson444 commented Nov 28, 2023

When log was replaced by tracing, it broke the logging in this example. Now we can use tracing-wasm instead of the legacy wasm-logger to get our output logs.

Description

Upgrade wasm-logger to tracing-wasm.

Related: #4950.

Notes & open questions

None, just figure logs will be useful to troubleshoot #4950.

Change checklist

  • I have performed a self-review of my own code
  • [x] I have made corresponding changes to the documentation
  • [x] I have added tests that prove my fix is effective or that my feature works
  • [x] A changelog entry has been made in the appropriate crates

log was replaced by tracing, so we use tracing-wasm here instead of the legacy wasm-logger to get our output logs
@DougAnderson444 DougAnderson444 changed the title fix(browser-webrtc-example logging): replace wasm-logger with tracing-wasm fix(browser-webrtc-example): fix logging Nov 28, 2023
there's no need to include the wasm feature on the tokio config
@thomaseizinger thomaseizinger changed the title fix(browser-webrtc-example): fix logging fix(browser-webrtc-example): use tracing-wasm logger Nov 29, 2023
Copy link
Contributor

@thomaseizinger thomaseizinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you and sorry for the hassle!

@mergify mergify bot merged commit bca3a26 into libp2p:master Nov 29, 2023
73 checks passed
@DougAnderson444 DougAnderson444 deleted the fix-example-webrtc branch November 29, 2023 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants