Description
From the release notes, and that documentation, we have now a method ‘setLogLevel’ available.
But from the web sdk documentation itself, this method does not exists / is not referenced.
So… i guessed this method has to be called on the ZoomMtg object:
ZoomMtg.setLogLevel('info');
And yeah, it’s not generating any javascript errors at runtime so looks like i guessed right.
First thing then : do you mind updating your documentation ? By updating i’m not asking to update the web SDK version number on your documentation but to refence every single method / feature that we can use. And please, also update your API code so that we can also see from our developer tools.
No errors: good, but nothing either…
Bellow are a couple of tests made and the results.
As also explained on the documentation / communication, we have to set ‘debug’ to true on the SDK initialization to have it. (unless i misunderstood something)
Base settings : Debug = true (no setLogLevel invoked)
No error.
Result: We have the usual console logs (not using a proper logger framework) as for the previous sdk versions.
Test 1 : Debug = true + setLogLevel = info.
No error.
Result: Nothing changed. Same information on the browser console, still using the console and not a proper logger.
Test 2 : Debug = true + setLogLevel = debug.
No error.
Result: Nothing changed. Same information on the browser console, still using the console and not a proper logger.
Test 3 : Debug = false + setLogLevel = info.
No error.
Result: Nothing changed. Same information on the browser console, still using the console and not a proper logger.
Test 4 : Debug = false (no setLogLevel invoked)
No error.
Result: Nothing changed. Same information on the browser console, still using the console and not a proper logger.
So…
- What is this ‘debug’ parameter for at the initialization time ? Does not look like it has real effect on the information logged by the Web SDK.
- What is this setLogLevel method for ? Again, it has no real effect on the information logged by the Web SDK.