加入nlog

按照官网的文档 https://github.com/nlog/nlog/wiki/getting-started-with-asp.net-core-2

一步一步操作下来,即可设置好。

配置文件的设置参考

http://www.makaidong.com/%e5%8d%9a%e5%ae%a2%e5%9b%ad%e5%8d%9a%e6%96%87/20150927/110956.html