A wrapper of the Bunyan logger library.
npm i git+ssh://git@github.com/gvko/node-logger.git
import * as logger from 'node-logger';
logger.init('example-service-name');
NOTE: if you intend to pipe the logs to a LaaS, then either:
- Provide the access key as a node process env variable
- Provide it as the
key
param in an object of the 2nd argument of theinit()
function