Closed humphreyn closed 2 years ago
this is a great idea mate. mind raising a PR with included tests? happy to merge it.
implemented in v1.1.6
Hi @marcdacz, Sorry I was going to raise a PR for this but Christmas got in the way. I see that you have added this functionality which is great
Currently if there are any type of errors in pdfjsLib including warning and info's they are all printed out to the console. I think it would be better if we could control what level of error that is printed to the console by adding the verbosity level to the config.settings object like this:
In pdfjsLib there are currently 3 verbosity levels:
IMO the default level should be 0 i.e. ERRORS but users can set the level they desire.
Then in the native.js code we could do something like this: