gfg-nodejs-libary-manofletters
v0.0.3
Published
AWS Lambda Logger based on winston logger
Downloads
5
Readme
manofletters
this is the logger for AWS lambda, which is a wrapper for winston logger.
To install
npm i gfg-nodejs-libary-manofletters
Example code:
var manofletters = require('gfg-nodejs-libary-manofletters');
manofletters.log('info', 'Hello login to the default console');
Logging Levels
Each level is given a specific integer priority. The higher the priority the more important the message is considered to be, and the lower the corresponding integer priority. For example, npm logging levels are prioritized from 0 to 5 (highest to lowest):
{ error: 0, warn: 1, info: 2, verbose: 3, debug: 4, silly: 5 }