06 2012 档案

摘要:public static void WriteErrorLog(Exception ex) { string LOG_FOLDER = AppDomain.CurrentDomain.BaseDirectory + "Log"; try { //日志文件路径 filePath = LOG_FOLDER + "\\" + "ErrorLog" + ".txt"; if (!System.IO.Directory.Exists(LOG_FOLDER)) { Directory.CreateDirectory(LOG_ 阅读全文
posted @ 2012-06-28 15:42 GerryGe 阅读(335) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
主题色彩