Twilio-video.js: No option to use custom logger with Twilio

Created on 24 May 2019  路  9Comments  路  Source: twilio/twilio-video.js

Currently there is no option to use custom logger for Twilio logs. So capturing issues on user's side for debugging purpose is tricky.

Expected behavior:

Twilio should provide option to pass custom Logger object implementation. So we can log using 3rd party tool like Bunyan (https://github.com/philmander/browser-bunyan)

Actual behavior:

Overiding internal logger not possible.

Software versions:

  • twilio-video.js: 2.0.0-beta9
  • Browser(s): n/a
  • Operating System: n/a
enhancement

Most helpful comment

Thank you for the suggestion @Poky85 - Sounds like a good idea to me. I will file an internal issue to to research more into this idea.

Thanks,
Makarand
JSDK Team.

All 9 comments

Thank you for the suggestion @Poky85 - Sounds like a good idea to me. I will file an internal issue to to research more into this idea.

Thanks,
Makarand
JSDK Team.

Any news on this?

@makarandp0 Are there any updates about when this feature might be released? We regularly reach out to Twilio Support for assistance with room issues and they almost always request the SDK logs...however we currently have no way to capture them. This is really affecting our experience with the SDK...can you provide any update?

Hello @thenorthstarblues, Thanks for the question @thenorthstarblues - We are actively working on this feature, and expect to release within a week or so. You can see this link to see current direction its headed. If you are willing to try out this release candidate, let me know and we can share some details.

@makarandp0 That's great news, thank you for the update! I'm interested in trying out the RC.

@thenorthstarblues, @rotvulpix, @Poky85 we have now released the version that allows you to intercept the logged message. Please check it out @ https://github.com/twilio/twilio-video.js/releases/tag/2.10.0

Thank you @makarandp0!

Thanks a lot! This is outstanding!

Thank you, works like a charm!

Was this page helpful?
0 / 5 - 0 ratings