A developer is designing an AWS Lambda function to perform a maintenance activity. The developer will use Amazon EventBridge (Amazon CloudWatch Events) to invoke the function on an hourly schedule. The developer wants the function to log information at different levels of detail according to the value of a log level variable. The developer must design the function so that the log level can be set without requiring a change to the function code.
Which solution will meet these requirements?
Spamuel
Highly Voted 2 years, 7 months agosumanshu
Most Recent 4 months, 1 week agoLucas_Luke
1 year, 6 months agoPunit007
1 year, 9 months agorcaliandro
1 year, 10 months agoMrTee
2 years agoRpod
2 years agoShriniW
2 years, 2 months agosichilam
2 years, 3 months agogpit
2 years, 4 months agodark_cherrymon
2 years, 5 months agocloud_collector
2 years, 5 months agoNorocas
2 years, 6 months agoArnaud92
2 years, 6 months ago