1.0.3 • Published 7 years ago

aws-lambda-log v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

aws-lambda-log

A clean and simple logger for lambda, with log level

Install

npm install aws-lambda-log --save

Usage

const logger = require('aws-lambda-log');

module.exports = (event, context) => {
  logger.context = context;
  ...
}

Log Level

To set the log level use the environment variable LOG_LEVEL and set its value to error | warn | info | debug | silly. Default log level is info;

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.2.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago