Skip to content

SharonGrossman/env-bunyan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

env-bunyan Build StatusCoverage Status

Bunyan wrapper with environment variables

Installation

$ [sudo] npm install env-bunyan --save

Usage

Example

$ LOG_NAME=my-app node server.js
import logger from 'env-bunyan';

if (err) { 
  logger.info({
    err,
    msg: 'Error'
  });
}

License

MIT

About

Bunyan wrapper with environment variables

Resources

License

Stars

Watchers

Forks

Packages

No packages published