I'm using Bunyan with Nodejs and I exported the writing to an external function and I would like to pass the relevant parameters to it.
How can I pass the line number, function name and file name? I saw the option of 'traceback' but I would like to know if there are any other alternatives for it? In addition, how can I indicate to the Bunyan logger via parameter the desired log severity level?
via David Faiz
No comments:
Post a Comment