vascomm_logs
v1.0.0
Published
Vascomm logs module
Downloads
65
Readme
Logs
Vascomm Logs Format for API
- Comprehensive tests
- No dependencies (except the unicode table)
npm install git+https://oauth2:[email protected]/backend/Vascomm_Module/log.git
example
var log = require('vascomm_logs')
// Success
log.info('', { ip: ip_address, endpoint: endpoint , date : moment().format(), params : json, results : JSON.stringify(response) });
// Error
log.error('', { ip: ip_address, endpoint: endpoint , date : moment().format(), params : json, results : JSON.stringify(response) });
options