Using Application Insights with ILoggerFactory

后端 未结 5 1988
攒了一身酷
攒了一身酷 2020-12-31 08:44

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

5条回答
  •  佛祖请我去吃肉
    2020-12-31 09:13

    There is now first-class support for logging to Application Insights, using the Microsoft.Extensions.Logging.ApplicationInsights provider.

提交回复
热议问题