We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
logEventIfEnabled()
1 parent 7e07ce9 commit 16adea6Copy full SHA for 16adea6
packages/logger/src/Logger.ts
@@ -432,11 +432,11 @@ class Logger extends Utility implements LoggerInterface {
432
}
433
434
/**
435
- * Log the AWS Lambda event payload for the current invocation if the environment variable `POWERTOOLS_LOG_EVENT` is set to `true`.
+ * Log the AWS Lambda event payload for the current invocation if the environment variable `POWERTOOLS_LOGGER_LOG_EVENT` is set to `true`.
436
*
437
* @example
438
* ```ts
439
- * process.env.POWERTOOLS_LOG_EVENT = 'true';
+ * process.env.POWERTOOLS_LOGGER_LOG_EVENT = 'true';
440
441
* import { Logger } from '@aws-lambda-powertools/logger';
442
0 commit comments