lambda-log-wrapper
Advanced tools
Comparing version
@@ -85,3 +85,3 @@ 'use strict'; | ||
return new Promise((resolve) => { | ||
cloudwatch.putMetricData(obj.pmParams, function(err, data) { | ||
this.cloudwatch.putMetricData(obj.pmParams, function(err, data) { | ||
resolve(obj); | ||
@@ -97,3 +97,3 @@ }); | ||
}; | ||
cloudwatchlogs.createLogGroup(lgParams, function(err, data) { | ||
this.cloudwatchlogs.createLogGroup(lgParams, function(err, data) { | ||
resolve(obj.response); | ||
@@ -100,0 +100,0 @@ }); |
{ | ||
"name": "lambda-log-wrapper", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "This is wrapper around node lambda which calls and logs ", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
6792
0.16%