Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/logger/src/Logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -432,11 +432,11 @@ class Logger extends Utility implements LoggerInterface {
}

/**
* 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`.
*
* @example
* ```ts
* process.env.POWERTOOLS_LOG_EVENT = 'true';
* process.env.POWERTOOLS_LOGGER_LOG_EVENT = 'true';
*
* import { Logger } from '@aws-lambda-powertools/logger';
*
Expand Down