为aps.net core项目加上全局异常捕捉和记录 参考文章: (1)为aps.net core项目加上全局异常捕捉和记录 (2)https://www.cnblogs.com/SzeCheng/p/5970967.html 备忘一下。