1.0.0 • Published 9 years ago

divshot-logger v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
9 years ago

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
1.0.0

9 years ago

0.4.0

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago