I\'m trying to log exceptions to Application Insights. I succeeded in doing this by calling TelemetryClient.TrackException directly. However, I would like to ab
TelemetryClient.TrackException
Here is the documentation of App Insights with ILogger. For me it worked however got tons of Trace log so recommend you to apply custom filters:
builder.AddApplicationInsights("ikey"); builder.AddFilter ("", LogLevel.Information); builder.AddFilter ("Microsoft", LogLevel.Warning);