@aws-lambda-powertools/logger
Advanced tools
Comparing version
@@ -116,2 +116,3 @@ "use strict"; | ||
return new Intl.DateTimeFormat('en', { | ||
hourCycle: 'h23', | ||
year: 'numeric', | ||
@@ -123,3 +124,2 @@ month: twoDigitFormatOption, | ||
second: twoDigitFormatOption, | ||
hour12: false, | ||
timeZone: validTimeZone, | ||
@@ -126,0 +126,0 @@ }); |
@@ -107,2 +107,5 @@ "use strict"; | ||
} | ||
if (isResetStateEnabled) { | ||
logger.resetKeys(); | ||
} | ||
} | ||
@@ -109,0 +112,0 @@ }; |
@@ -113,2 +113,3 @@ /** | ||
return new Intl.DateTimeFormat('en', { | ||
hourCycle: 'h23', | ||
year: 'numeric', | ||
@@ -120,3 +121,2 @@ month: twoDigitFormatOption, | ||
second: twoDigitFormatOption, | ||
hour12: false, | ||
timeZone: validTimeZone, | ||
@@ -123,0 +123,0 @@ }); |
@@ -104,2 +104,5 @@ import { LOGGER_KEY } from '@aws-lambda-powertools/commons'; | ||
} | ||
if (isResetStateEnabled) { | ||
logger.resetKeys(); | ||
} | ||
} | ||
@@ -106,0 +109,0 @@ }; |
{ | ||
"name": "@aws-lambda-powertools/logger", | ||
"version": "2.22.0", | ||
"version": "2.23.0", | ||
"description": "The logging package for the Powertools for AWS Lambda (TypeScript) library", | ||
@@ -28,3 +28,3 @@ "author": { | ||
"dependencies": { | ||
"@aws-lambda-powertools/commons": "^2.22.0", | ||
"@aws-lambda-powertools/commons": "^2.23.0", | ||
"lodash.merge": "^4.6.2" | ||
@@ -31,0 +31,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
321369
0.06%7278
0.08%