@aws-lambda-powertools/logger
Advanced tools
Comparing version 0.11.1-rc.0 to 0.12.0-rc.1
@@ -384,2 +384,10 @@ import type { Context } from 'aws-lambda'; | ||
/** | ||
* If the log event feature is enabled via env variable, it sets a property that tracks whether | ||
* the event passed to the Lambda function handler should be logged or not. | ||
* | ||
* @private | ||
* @returns {void} | ||
*/ | ||
private setLogEvent; | ||
/** | ||
* It sets the log formatter instance, in charge of giving a custom format | ||
@@ -386,0 +394,0 @@ * to the structured logs |
@@ -249,5 +249,7 @@ "use strict"; | ||
this.addContext(context); | ||
if (options) { | ||
this.logEventIfEnabled(event, options.logEvent); | ||
let shouldLogEvent = undefined; | ||
if (options && options.hasOwnProperty('logEvent')) { | ||
shouldLogEvent = options.logEvent; | ||
} | ||
this.logEventIfEnabled(event, shouldLogEvent); | ||
/* eslint-disable @typescript-eslint/no-non-null-assertion */ | ||
@@ -557,2 +559,14 @@ const result = originalMethod.apply(target, [event, context, callback]); | ||
/** | ||
* If the log event feature is enabled via env variable, it sets a property that tracks whether | ||
* the event passed to the Lambda function handler should be logged or not. | ||
* | ||
* @private | ||
* @returns {void} | ||
*/ | ||
setLogEvent() { | ||
if (this.getEnvVarsService().getLogEvent()) { | ||
this.logEvent = true; | ||
} | ||
} | ||
/** | ||
* It sets the log formatter instance, in charge of giving a custom format | ||
@@ -622,2 +636,3 @@ * to the structured logs | ||
this.setPowertoolLogData(serviceName, environment); | ||
this.setLogEvent(); | ||
this.addPersistentLogAttributes(persistentLogAttributes); | ||
@@ -665,2 +680,2 @@ return this; | ||
Logger.defaultServiceName = 'service_undefined'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTG9nZ2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL0xvZ2dlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxxQ0FBa0M7QUFFbEMsNERBQXlEO0FBQ3pELDJD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LHFCQUFxQixDQUN4QjtZQUNFLFNBQVMsRUFBRSxJQUFJLENBQUMsaUJBQWlCLEVBQUUsQ0FBQyxZQUFZLEVBQUU7WUFDbEQsV0FBVyxFQUNULFdBQVc7aUJBQ1gsTUFBQSxJQUFJLENBQUMsc0JBQXNCLEVBQUUsMENBQUUscUJBQXFCLEVBQUUsQ0FBQTtnQkFDdEQsSUFBSSxDQUFDLGlCQUFpQixFQUFFLENBQUMscUJBQXFCLEVBQUU7WUFDbEQsZUFBZSxFQUFFLElBQUksQ0FBQyxrQkFBa0IsRUFBRTtZQUMxQyxXQUFXLEVBQ1QsV0FBVyxLQUFJLE1BQUEsSUFBSSxDQUFDLHNCQUFzQixFQUFFLDBDQUFFLGNBQWMsRUFBRSxDQUFBLElBQUksSUFBSSxDQUFDLGlCQUFpQixFQUFFLENBQUMsY0FBYyxFQUFFLElBQUksTUFBTSxDQUFDLGtCQUFrQjtTQUMzSSxFQUNELHVCQUF1QixDQUN4QixDQUFDO0lBQ0osQ0FBQztJQUVEOzs7Ozs7OztPQVFHO0lBQ0ssV0FBVyxDQUFDLFFBQWtCO1FBQ3BDLElBQUksSUFBSSxDQUFDLGtCQUFrQixDQUFDLFFBQVEsQ0FBQyxJQUFJLElBQUksQ0FBQyxrQkFBa0IsQ0FBQyxJQUFJLENBQUMsV0FBVyxFQUFFLENBQUMsRUFBRTtZQUNwRixPQUFPLElBQUksQ0FBQztTQUNiO1FBRUQsT0FBTyxJQUFJLENBQUMsY0FBYyxFQUFFLENBQUM7SUFDL0IsQ0FBQzs7QUFHTSx3QkFBTTtBQWhxQlcsc0JBQWUsR0FBYSxNQUFNLENBQUM7QUFFbkMseUJBQWtCLEdBQVcsbUJBQW1CLENBQUMifQ== |
@@ -38,5 +38,7 @@ "use strict"; | ||
} | ||
if (options) { | ||
logger.logEventIfEnabled(request.event, options.logEvent); | ||
let shouldLogEvent = undefined; | ||
if (options && options.hasOwnProperty('logEvent')) { | ||
shouldLogEvent = options.logEvent; | ||
} | ||
logger.logEventIfEnabled(request.event, shouldLogEvent); | ||
}); | ||
@@ -57,2 +59,2 @@ }; | ||
exports.injectLambdaContext = injectLambdaContext; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlkZHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvbWlkZGxld2FyZS9taWRkeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFJQTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBd0JHO0FBQ0gsTUFBTSxtQkFBbUIsR0FBRyxDQUFDLE1BQXlCLEVBQUUsT0FBd0IsRUFBdUIsRUFBRTtJQUV2RyxNQUFNLE9BQU8sR0FBRyxNQUFNLFlBQVksS0FBSyxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLENBQUMsTUFBTSxDQUFDLENBQUM7SUFDNUQsTUFBTSxvQkFBb0IsR0FBb0IsRUFBRSxDQUFDO0lBRWpELE1BQU0seUJBQXlCLEdBQUcsS0FBSyxFQUFFLE9BQXNCLEVBQWlCLEVBQUU7UUFDaEYsT0FBTyxDQUFDLE9BQU8sQ0FBQyxDQUFDLE1BQWMsRUFBRSxFQUFFO1lBQ2pDLE1BQU0sQ0FBQyxVQUFVLENBQUMsT0FBTyxDQUFDLE9BQU8sQ0FBQyxDQUFDO1lBQ25DLElBQUksT0FBTyxJQUFJLE9BQU8sQ0FBQyxVQUFVLEtBQUssSUFBSSxFQUFFO2dCQUMxQyxvQkFBb0IsQ0FBQyxJQUFJLENBQUMsRUFBRSxHQUFHLE1BQU0sQ0FBQywwQkFBMEIsRUFBRSxFQUFFLENBQUMsQ0FBQzthQUN2RTtZQUNELElBQUksT0FBTyxFQUFFO2dCQUNYLE1BQU0sQ0FBQyxpQkFBaUIsQ0FBQyxPQUFPLENBQUMsS0FBSyxFQUFFLE9BQU8sQ0FBQyxRQUFR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FBQztBQUNKLENBQUMsQ0FBQztBQUdBLGtEQUFtQiJ9 |
{ | ||
"name": "@aws-lambda-powertools/logger", | ||
"version": "0.11.1-rc.0", | ||
"version": "0.12.0-rc.1", | ||
"description": "The logging package for the AWS Lambda Powertools for TypeScript library", | ||
@@ -53,3 +53,3 @@ "author": { | ||
"dependencies": { | ||
"@aws-lambda-powertools/commons": "^0.11.1-rc.0", | ||
"@aws-lambda-powertools/commons": "^0.12.0-rc.1", | ||
"lodash.clonedeep": "^4.5.0", | ||
@@ -59,3 +59,12 @@ "lodash.merge": "^4.6.2", | ||
}, | ||
"gitHead": "d0871f717b67db6c6add3f89497723d68281c9fb" | ||
"keywords": [ | ||
"aws", | ||
"lambda", | ||
"powertools", | ||
"logger", | ||
"logging", | ||
"serverless", | ||
"nodejs" | ||
], | ||
"gitHead": "2b4e7f91d1ca9a2a160cd69834bf955f2609c040" | ||
} |
# AWS Lambda Powertools for TypeScript | ||
| ⚠️ **WARNING: Do not use this library in production** ⚠️ | | ||
| ⚠️ **WARNING: Do not use this library in production (yet)** ⚠️ | | ||
|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| AWS Lambda Powertools for TypeScript is currently released as a beta developer preview and is intended strictly for feedback purposes only. <br/>This version is not stable, and significant breaking changes might incur as part of the upcoming [production-ready release](https://github.com/awslabs/aws-lambda-powertools-typescript/milestone/2). |_ | ||
| AWS Lambda Powertools for TypeScript is currently released as a release candidate (RC) and is intended for feedback and testing purposes only. <br/>While this version is fairly stable in terms of API surface, we still expect some changes to happen as part of the upcoming [production-ready release](https://github.com/awslabs/aws-lambda-powertools-typescript/milestone/2). |_ | ||
@@ -7,0 +7,0 @@ |
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
103642
2123
96
2
3
1
20
+ Added@aws-lambda-powertools/commons@0.12.0-rc.1(transitive)
- Removed@aws-lambda-powertools/commons@0.11.1-rc.0(transitive)