【发布时间】:2019-06-19 11:00:09
【问题描述】:
我将 ELMAH 配置为在我的 Api 中记录所有错误。它正在工作,我可以通过访问 https://app.elmah.io 查看日志。
我使用的是 ASP.NET Core Web API 2.1,所以它没有 web.config。
问题是:如何在我的 SQL Server 数据库中记录错误?
打印:
【问题讨论】:
标签: sql-server asp.net-core asp.net-core-webapi elmah