简单C#写日志
摘要:
public static void WriteLogFile(string strLog) { string strPath = System.AppDomain.CurrentDomain.BaseDirectory + http://www.cnblogs.com/haiyu/admin/file://\\zztblog.txt; FileStream fs = new FileStream(strPath, FileMode.OpenOrCreate, FileAccess.Write); StreamWriter m_streamWriter = new StreamWriter(. 阅读全文
posted @ 2011-05-02 20:42 大鱼,大禹 阅读(395) 评论(0) 推荐(0) 编辑