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

Bump version and add logger callback #141

Merged
merged 4 commits into from
Dec 1, 2022
Merged

Conversation

ci010
Copy link
Contributor

@ci010 ci010 commented Nov 27, 2022

  • Bump libdatachannel version to v0.17.12
  • Add optional log callback to initLogger

Some background:

I'm using the lib in electron and debug with vscode debugger.

The vscode debugger cannot capture the log pipe to stdout by default, and I want to add option to my program to pipe the libdatachannel's log to a specific file.

Since I encountered the strange crash, I think I need to collect the log to a logfile for this lib from user to help diagnose.

lib/index.d.ts Outdated Show resolved Hide resolved
@murat-dogan
Copy link
Owner

Thanks!

@murat-dogan murat-dogan merged commit e166692 into murat-dogan:master Dec 1, 2022
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.

3 participants