pmslogs
v1.2.4
Published
pms system logger
Downloads
8
Readme
PMS Logger
Log data to remote server for error metrics
Installation
npm install pmslogs --save
or yarn add pmslogs
Example...
var Log = require('pmslogs')
Log.Debug({component: String, label: String, message: String})
Other available methods are;
Error, Warn, Info, Http, Verbose and Silly
Parameter Options
- Label & Message can't be null
- Pass an object (not strict)