-const log = bunyan.createLogger({name: 'my-app'});
But I am getting the issue: ERROR in ./~/bunyan/lib/bunyan.js Module not found: Error: Can't resolve 'fs' in '/home/anser/react_projects/my-app/node_modules/bunyan/lib'
Can anyone please help me out of this?Thanks in advance.