Closed
Description
Use case
With this new environment variable customers can set the log level for Logger.
Solution/User Experience
Setting the log level will follow this order:
AWS_LAMBDA_LOG_LEVEL
environment variable- Setting the log level in code using the
logLevel
constructor option, or by calling thelogger.setLogLevel()
method POWERTOOLS_LOG_LEVEL
environment variable
Alternative solutions
No response
Acknowledgment
- This feature request meets Powertools for AWS Lambda (TypeScript) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Python, Java, and .NET
Future readers
Please react with 👍 and your use case to help us understand customer demand.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Shipped