摘要:
public class MyLog{ public static void WriteLog(string error) { WriteLog(error, null); } public static void WriteLog(string error, Exception ex) { string dir = Application.StartupPath + "\\LOG"; if (!Directory.Exists(dir)) { Directory.CreateDirectory(dir); } error = DateTime.Now.ToString() 阅读全文
posted @ 2012-09-21 16:37 PHP-张工 阅读(2679) 评论(0) 推荐(0) 编辑