摘要:
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
骄傲的豹子
阅读(381)
评论(0)
推荐(0)

浙公网安备 33010602011771号