aws / aws-lambda-dotnet

Libraries, samples and tools to help .NET Core developers develop AWS Lambda functions.
Apache License 2.0
1.58k stars 477 forks source link

Update Lambda Test Tool to support version 2.4.0 of Amazon.Lambda.Core #1872

Closed normj closed 1 week ago

normj commented 1 week ago

Issue #, if available: https://github.com/aws/aws-lambda-dotnet/issues/1869

Description of changes: Update the Lambda Test tool to support Amazon.Lambda.Core 2.4.0 new parameterized logging APIs. Currently it doesn't format the parameterized logging messages the same as RuntimeSupport but all of the information is available. We will need to figure out long term how would we share all of the formatting logic in Amazon.Lambda.RuntimeSupport with the test tool.

Testing

Added new unit tests and did manual confirmation using the test tool with a Lambda function using the parameterized logging APIs.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.