最近在做cppunit test相关工作,用gcov和lcov工具来查看每行代码的覆盖率,个人感觉lcov真棒,看起来很舒服,点起来也很爽!~~ 闲聊至此,如题: 我使用的是lcov的 --remove命令 Remove / filter out remaining unwanted stuff from tracefile Now we can remove the (remaining) stuff that we aren't interested in from the tracefil…
添加: using Dw.Util.Helper; using Microsoft.AspNetCore.Mvc.Filters; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Dw.SysWeb.Models { /// <summary> /// 全局异常过滤器 /// </summary> public cla…