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
Hi there, using this awesome logging framework, so thanks a lot for creating and maintaining. Just wondering is it possible to add a custom filed in bunyan which will always appear no matter what I log. Like a requestId appearing always in the log message like a Pid, date etc. would be awesome. Please let me know. Cheers.
The text was updated successfully, but these errors were encountered:
var log = bunyan.createLogger({name: 'myapp', requestId: genRequestId});
log.info('hi'); // This log record will have 'name' and 'requestId' fields per the constructor above.
Hi there, using this awesome logging framework, so thanks a lot for creating and maintaining. Just wondering is it possible to add a custom filed in bunyan which will always appear no matter what I log. Like a requestId appearing always in the log message like a Pid, date etc. would be awesome. Please let me know. Cheers.
The text was updated successfully, but these errors were encountered: