void NewLog() { LogFileWR.Dispose(); var f = LWMSTraceListener.CurrentLogFile + "." + id + ".trace"; if (file == f) { id++; file = LWMSTraceListener.CurrentLogFile + "." + id + ".trace"; } else { id = 0; file = LWMSTraceListener.CurrentLogFile + "." + id + ".trace"; } LogFileWR = new FileWR(new System.IO.FileInfo(file)); }
SideLoger() { file = LWMSTraceListener.CurrentLogFile + "." + id + ".trace"; LogFileWR = new FileWR(new System.IO.FileInfo(file)); }