🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

pn-lambda-logger

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pn-lambda-logger - npm Package Compare versions

Comparing version

to
0.10.2

{
"name": "pn-lambda-logger",
"version": "0.10.1",
"version": "0.10.2",
"description": "Logger for AWS Lambda nodejs.",

@@ -29,3 +29,3 @@ "main": "dist/index.js",

"mocha": "5.2.0",
"nyc": "13.0.1",
"nyc": "13.3.0",
"ts-node": "7.0.1",

@@ -32,0 +32,0 @@ "tslint": "5.11.0",

@@ -39,3 +39,3 @@ # A nodejs logger for AWS Lambda

// Setup so that the AWS Lambda meta data will be added to log output
log.setup({ context, host: event.headers['Host'], verb: event.httpMethod, useragent: event.headers['User-Agent'], query: event.queryStringParameters, path: event.path, xRequestId: event.headers['X-REQUEST-ID'] });
log.setup({ context, host: event.headers['Host'], verb: event.httpMethod, useragent: event.headers['User-Agent'], query: event.queryStringParameters, path: event.path, xRequestId: event.headers['X-Request-ID'] });

@@ -42,0 +42,0 @@ // A standard INFO log message