aws-cloudwatch-log
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="0.1.2"></a> | ||
## [0.1.2](https://github.com/nicolasdao/aws-cloudwatch-logger/compare/v0.1.1...v0.1.2) (2017-12-18) | ||
### Bug Fixes | ||
* Add string type support for the local variable so it can be passed 'false' ([11b8d96](https://github.com/nicolasdao/aws-cloudwatch-logger/commit/11b8d96)) | ||
<a name="0.1.1"></a> | ||
@@ -7,0 +17,0 @@ ## [0.1.1](https://github.com/nicolasdao/aws-cloudwatch-logger/compare/v0.1.0...v0.1.1) (2017-12-18) |
@@ -45,3 +45,3 @@ /** | ||
const createLogStream = (logStreamName, { logGroupName, region, accessKeyId, secretAccessKey, local }) => { | ||
if (local) | ||
if (local && local != 'false') | ||
return Promise.resolve({ message: 'No need to create stream. Local mode is on.' }) | ||
@@ -72,3 +72,3 @@ | ||
}) | ||
return request.post('', payload) | ||
@@ -238,3 +238,3 @@ .then(results => results.data) | ||
this.log = local ? console.log : log | ||
this.log = local && local != 'false' ? console.log : log | ||
} | ||
@@ -241,0 +241,0 @@ } |
{ | ||
"name": "aws-cloudwatch-log", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Fast & Simple Logging to AWS CloudWatch", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17555