@aws-lambda-powertools/logger
Advanced tools
Comparing version 1.5.1 to 1.6.0
@@ -329,2 +329,6 @@ import type { Context } from 'aws-lambda'; | ||
* | ||
* Even though logLevel starts as undefined, it will always be set to a value | ||
* during the Logger instance's initialization. So, we can safely use the non-null | ||
* assertion operator here. | ||
* | ||
* @private | ||
@@ -360,3 +364,3 @@ * @returns {LogLevel} | ||
/** | ||
* It returns true if the provided log level is valid. | ||
* It returns true and type guards the log level if a given log level is valid. | ||
* | ||
@@ -379,4 +383,5 @@ * @param {LogLevel} logLevel | ||
* | ||
* @param {LogLevel} logLevel | ||
* @param {LogItem} log | ||
* @param {Uppercase<LogLevel>} logLevel | ||
* @param {LogItemMessage} input | ||
* @param {LogItemExtraInput} extraInput | ||
* @private | ||
@@ -474,5 +479,3 @@ */ | ||
* | ||
* @param {string} serviceName | ||
* @param {Environment} environment | ||
* @param {LogAttributes} persistentLogAttributes | ||
* @param {Uppercase<LogLevel>} logLevel | ||
* @private | ||
@@ -479,0 +482,0 @@ * @returns {boolean} |
@@ -169,4 +169,9 @@ "use strict"; | ||
createChild(options = {}) { | ||
const parentsOptions = { | ||
logLevel: this.getLogLevel(), | ||
customConfigService: this.getCustomConfigService(), | ||
logFormatter: this.getLogFormatter(), | ||
}; | ||
const parentsPowertoolsLogData = this.getPowertoolLogData(); | ||
const childLogger = new Logger((0, lodash_merge_1.default)({}, parentsPowertoolsLogData, options)); | ||
const childLogger = new Logger((0, lodash_merge_1.default)(parentsOptions, parentsPowertoolsLogData, options)); | ||
const parentsPersistentLogAttributes = this.getPersistentLogAttributes(); | ||
@@ -481,2 +486,6 @@ childLogger.addPersistentLogAttributes(parentsPersistentLogAttributes); | ||
* | ||
* Even though logLevel starts as undefined, it will always be set to a value | ||
* during the Logger instance's initialization. So, we can safely use the non-null | ||
* assertion operator here. | ||
* | ||
* @private | ||
@@ -539,3 +548,3 @@ * @returns {LogLevel} | ||
/** | ||
* It returns true if the provided log level is valid. | ||
* It returns true and type guards the log level if a given log level is valid. | ||
* | ||
@@ -547,3 +556,3 @@ * @param {LogLevel} logLevel | ||
isValidLogLevel(logLevel) { | ||
return typeof logLevel === 'string' && logLevel.toUpperCase() in this.logLevelThresholds; | ||
return typeof logLevel === 'string' && logLevel in this.logLevelThresholds; | ||
} | ||
@@ -565,4 +574,5 @@ /** | ||
* | ||
* @param {LogLevel} logLevel | ||
* @param {LogItem} log | ||
* @param {Uppercase<LogLevel>} logLevel | ||
* @param {LogItemMessage} input | ||
* @param {LogItemExtraInput} extraInput | ||
* @private | ||
@@ -656,14 +666,19 @@ */ | ||
setLogLevel(logLevel) { | ||
if (this.isValidLogLevel(logLevel)) { | ||
this.logLevel = logLevel.toUpperCase(); | ||
const constructorLogLevel = logLevel?.toUpperCase(); | ||
if (this.isValidLogLevel(constructorLogLevel)) { | ||
this.logLevel = constructorLogLevel; | ||
return; | ||
} | ||
const customConfigValue = this.getCustomConfigService()?.getLogLevel(); | ||
const customConfigValue = this.getCustomConfigService() | ||
?.getLogLevel() | ||
?.toUpperCase(); | ||
if (this.isValidLogLevel(customConfigValue)) { | ||
this.logLevel = customConfigValue.toUpperCase(); | ||
this.logLevel = customConfigValue; | ||
return; | ||
} | ||
const envVarsValue = this.getEnvVarsService().getLogLevel(); | ||
const envVarsValue = this.getEnvVarsService() | ||
?.getLogLevel() | ||
?.toUpperCase(); | ||
if (this.isValidLogLevel(envVarsValue)) { | ||
this.logLevel = envVarsValue.toUpperCase(); | ||
this.logLevel = envVarsValue; | ||
return; | ||
@@ -731,5 +746,3 @@ } | ||
* | ||
* @param {string} serviceName | ||
* @param {Environment} environment | ||
* @param {LogAttributes} persistentLogAttributes | ||
* @param {Uppercase<LogLevel>} logLevel | ||
* @private | ||
@@ -739,3 +752,4 @@ * @returns {boolean} | ||
shouldPrint(logLevel) { | ||
if (this.logLevelThresholds[logLevel] >= this.logLevelThresholds[this.getLogLevel()]) { | ||
if (this.logLevelThresholds[logLevel] >= | ||
this.logLevelThresholds[this.getLogLevel()]) { | ||
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ozs7Ozs7T0FRRztJQUNLLG1CQUFtQixDQUN6QixXQUFvQixFQUNwQixXQUF5QixFQUN6QiwwQkFBeUMsRUFBRTtRQUUzQyxJQUFJLENBQUMscUJBQXFCLENBQ3hCO1lBQ0UsU0FBUyxFQUFFLElBQUksQ0FBQyxpQkFBaUIsRUFBRSxDQUFDLFlBQVksRUFBRTtZQUNsRCxXQUFXLEVBQ1QsV0FBVztnQkFDWCxJQUFJLENBQUMsc0JBQXNCLEVBQUUsRUFBRSxxQkFBcUIsRUFBRTtnQkFDdEQsSUFBSSxDQUFDLGlCQUFpQixFQUFFLENBQUMscUJBQXFCLEVBQUU7WUFDbEQsZUFBZSxFQUFFLElBQUksQ0FBQyxrQkFBa0IsRUFBRTtZQUMxQyxXQUFXLEVBQ1QsV0FBVyxJQUFJLElBQUksQ0FBQyxzQkFBc0IsRUFBRSxFQUFFLGNBQWMsRUFBRSxJQUFJLElBQUksQ0FBQyxpQkFBaUIsRUFBRSxDQUFDLGNBQWMsRUFBRSxJQUFJLElBQUksQ0FBQyxxQkFBcUIsRUFBRTtTQUM5SSxFQUNELHVCQUF1QixDQUN4QixDQUFDO0lBQ0osQ0FBQztJQUVEOzs7Ozs7T0FNRztJQUNLLFdBQVcsQ0FBQyxRQUE2QjtRQUMvQyxJQUNFLElBQUksQ0FBQyxrQkFBa0IsQ0FBQyxRQUFRLENBQUM7WUFDakMsSUFBSSxDQUFDLGtCQUFrQixDQUFDLElBQUksQ0FBQyxXQUFXLEVBQUUsQ0FBQyxFQUMzQztZQUNBLE9BQU8sSUFBSSxDQUFDO1NBQ2I7UUFFRCxPQUFPLElBQUksQ0FBQyxjQUFjLEVBQUUsQ0FBQztJQUMvQixDQUFDOztBQUdNLHdCQUFNO0FBbHZCVyxzQkFBZSxHQUF3QixNQUFNLENBQUMifQ== |
@@ -33,5 +33,5 @@ "use strict"; | ||
const injectLambdaContextBefore = async (request) => { | ||
loggers.forEach((logger) => { | ||
loggers.forEach((logger, index) => { | ||
if (options && options.clearState === true) { | ||
persistentAttributes.push({ ...logger.getPersistentLogAttributes() }); | ||
persistentAttributes[index] = ({ ...logger.getPersistentLogAttributes() }); | ||
} | ||
@@ -55,2 +55,2 @@ Logger_1.Logger.injectLambdaContextBefore(logger, request.event, request.context, options); | ||
exports.injectLambdaContext = injectLambdaContext; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlkZHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvbWlkZGxld2FyZS9taWRkeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxzQ0FBbUM7QUFPbkM7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBdUJHO0FBQ0gsTUFBTSxtQkFBbUIsR0FBRyxDQUFDLE1BQXlCLEVBQUUsT0FBd0IsRUFBcUIsRUFBRTtJQUVyRyxNQUFNLE9BQU8sR0FBRyxNQUFNLFlBQVksS0FBSyxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLENBQUMsTUFBTSxDQUFDLENBQUM7SUFDNUQsTUFBTSxvQkFBb0IsR0FBb0IsRUFBRSxDQUFDO0lBRWpELE1BQU0seUJBQXlCLEdBQUcsS0FBSyxFQUFFLE9BQXlCLEVBQWlCLEVBQUU7UUFDbkYsT0FBTyxDQUFDLE9BQU8sQ0FBQyxDQUFDLE1BQWMsRUFBRSxFQUFFO1lBQ2pDLElBQUksT0FBTyxJQUFJLE9BQU8sQ0FBQyxVQUFVLEtBQUssSUFBSSxFQUFFO2dCQUMxQyxvQkFBb0IsQ0FBQyxJQUFJLENBQUMsRUFBRSxHQUFHLE1BQU0sQ0FBQywwQkFBMEIsRUFBRSxFQUFFLENBQUMsQ0FBQzthQUN2RTtZQUNELGVBQU0sQ0FBQyx5QkFBeUIsQ0FBQyxNQUFNLEVBQUUsT0FBTyxDQUFDLEtBQUssRUFBRSxPQ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LENBQUMsQ0FBQztBQUdBLGtEQUFtQiJ9 |
@@ -5,5 +5,5 @@ type LogLevelDebug = 'DEBUG'; | ||
type LogLevelError = 'ERROR'; | ||
type LogLevel = LogLevelDebug | LogLevelInfo | LogLevelWarn | LogLevelError | string; | ||
type LogLevel = LogLevelDebug | Lowercase<LogLevelDebug> | LogLevelInfo | Lowercase<LogLevelInfo> | LogLevelWarn | Lowercase<LogLevelWarn> | LogLevelError | Lowercase<LogLevelError>; | ||
type LogLevelThresholds = { | ||
[key in LogLevel]: number; | ||
[key in Uppercase<LogLevel>]: number; | ||
}; | ||
@@ -10,0 +10,0 @@ type LogAttributeValue = unknown; |
{ | ||
"name": "@aws-lambda-powertools/logger", | ||
"version": "1.5.1", | ||
"version": "1.6.0", | ||
"description": "The logging package for the AWS Lambda Powertools for TypeScript library", | ||
@@ -29,3 +29,3 @@ "author": { | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-lambda-powertools-typescript/tree/master/packages/logging#readme", | ||
"homepage": "https://github.com/awslabs/aws-lambda-powertools-typescript/tree/main/packages/logging#readme", | ||
"license": "MIT", | ||
@@ -49,3 +49,3 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@aws-lambda-powertools/commons": "^1.5.1", | ||
"@aws-lambda-powertools/commons": "^1.6.0", | ||
"lodash.merge": "^4.6.2" | ||
@@ -62,3 +62,3 @@ }, | ||
], | ||
"gitHead": "ed55e588e65d59c8dc023a9dc06445502a6dd45b" | ||
"gitHead": "196ded7099174d8817489846a128f3facf7c2b0f" | ||
} |
# AWS Lambda Powertools for TypeScript <!-- omit in toc --> | ||
A suite of utilities for AWS Lambda functions to ease the adoption of best practices such as tracing, structured logging, custom metrics, and more. | ||
Powertools is a developer toolkit to implement Serverless [best practices and increase developer velocity](https://awslabs.github.io/aws-lambda-powertools-typescript/latest/#features). | ||
@@ -84,2 +84,2 @@ You can use the library in both TypeScript and JavaScript code bases. | ||
This library is licensed under the MIT-0 License. See the LICENSE file. | ||
This library is licensed under the MIT-0 License. See the LICENSE file. |
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
No website
QualityPackage does not have a website.
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
106687
2140
85