...

/

Solution Review: Adding Logs and Traces

Solution Review: Adding Logs and Traces

Review the solution to adding logs and traces to a Lambda function.

We'll cover the following...

The solution to the challenge can be found in the following playground.

namespace LambdaApp;

public class Input
{
    public int FirstNumber { get; set; }
    public int SecondNumber { get; set; }
}
Initial setup without logs and traces applied
  1. To capture the input event in the most efficient manner, we add the Logging attribute on line 11 of the Function.cs file ...