【发布时间】:2020-05-22 15:36:03
【问题描述】:
目前,我直接使用 Azure 应用程序洞察力进行日志记录,如此链接中所示 Use latest version of Application Insight with .net core API 一切正常。
但我现在需要借助 azure application insight 使用 serilog 进行日志记录。甚至我也对 serilog (https://github.com/serilog/serilog-sinks-applicationinsights) 做了一些研发。但没有得到任何想法。您能否建议我如何使用 .Net core 3.0 实现这一目标
【问题讨论】:
-
有什么问题?您已链接到 Serilog 应用程序洞察接收器,这正是您需要添加到项目中的内容。当我说它有效时,我是根据经验说话
-
@pinkfloydx33 如何链接?
标签: c# azure asp.net-core azure-application-insights serilog