您的位置:首页 > 其它

记录详细错误信息

2014-07-03 16:47 246 查看
utils.ToLog.WriteLog(AboutConfig.LogPath, "\r\n方法:" + System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.FullName + "." + System.Reflection.MethodBase.GetCurrentMethod().Name + "[##本地##文件不存在]\r\n导致异常的应用程序或对象名称:" + ex.Source + "\r\n引发异常的方法:" + ex.TargetSite + "\r\n详细消息:" + ex.Message + "\r\n当前调用文件路径:" + filepath + "\r\n", 1);
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐