2013年1月17日

摘要: public class MyLogger { public static void Log(string str) { StreamWriter sw = null; try { DirectoryInfo di = new DirectoryInfo(@"D:\testing");//获取D:\testing 目录的信息 if (!di.Exists)//如果没有该目录,则直接创建一个 { ... 阅读全文
posted @ 2013-01-17 16:43 骄傲的豹子 阅读(368) 评论(0) 推荐(0) 编辑

导航