会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
骄傲的豹子
2013年1月17日
自己写一个Log类
摘要: 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)
编辑
导航
博客园
首页
新随笔
联系
订阅
管理
公告