You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Until the developer fixes this, the following is a workaround. Add the following code after requiring PDFParser:
var util = require('util');
util._logN = function() {};
This nullops PDFParser's logging function, which is fortunately attached to the util module so it can be accessed this way. There's still at least one place where it uses console.log instead, which I can't get rid of, but this removes the majority of the problem.
I think at the most, the parser should emit a 'log' event or something. Definitely writing to stderr/stdout is not the preferred way to go. @modesty are you interested in a pull request to fix this?
I'm seeing lot's of logging messages like these:
How can I turn them off?
Thanks
The text was updated successfully, but these errors were encountered: