ASP.NET MVC 使用 NLog 记录日志 1. 安装 NLog 及相关包 Install-Package NLog Install-Package NLog.Extended Install-Package NLog.Web