System.Diagnostics.Trace.Listeners.Clear();
System.Diagnostics.Trace.AutoFlush=true;
System.Diagnostics.Trace.Listeners.Add(new System.Diagnostics.TextWriterTraceListener("app.log"));
posted on 2009-01-07 13:22  不高很瘦  阅读(250)  评论(0编辑  收藏  举报