AWS Lambda Logger
When you create your a AWS Lambda you need to have a good logger to view this logs in CloudWatch. This package has a debug and error logger.
Installation
npm install --save aws-lambda-logger
Example
const logger = ; exports { // logger [debug] method needs at least 2 parameters // context and data (custom data to log) logger; // logger [error] method needs at least 2 parameters // context and error (error to trace) logger;