divshot-logger

1.0.0 • Public • Published

divshot-logger

Logging for all things Divshot

Install

npm install divshot-logger --save

Usage

var logger = require('divshot-logger')('App Name', {
  /* OPTIONS */
  
  console: true,
  hosted: true,
  colorize: true
  
});

Options

  • console - write to the current environment's stdout (i.e. console.log). Good for local dev.
  • hosted - write the the configured remote logging platform. Requires host and port options to be configured in setup or PAPERTRAIL_HOST and PAPERTRAIL_PORT to be configured in the environment.
  • host - host of the remote Papertrail account
  • port - port of the remote Papertrail account
  • colorize - colored logs

Readme

Keywords

none

Package Sidebar

Install

npm i divshot-logger

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • scottcorgan
  • mbleigh