Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
 SideLoger()
 {
     file      = LWMSTraceListener.CurrentLogFile + "." + id + ".trace";
     LogFileWR = new FileWR(new System.IO.FileInfo(file));
 }