orgsync-logger

1.4.0 • Public • Published

OrgSync Logger Node

A simple logging utility for OrgSync's node services.

Install

npm install orgsync-logger

Usage

var log = require('orgsync-logger');

log.configure({
  name: 'my-app',
  colors: true, // forced to `false` when `dir` is set
  level: 'info',
  metrics: true,
  dir: 'log' // absolute, or relative to command CWD, or falsey for stdout
});

Test

npm test

Readme

Keywords

none

Package Sidebar

Install

npm i orgsync-logger

Weekly Downloads

1

Version

1.4.0

License

MIT

Last publish

Collaborators

  • caseywebdev