示例#1
0
        public void StartLog()
        {
            currentLog = new RoastLog();
            stopWatch.Restart();
            lock (thisLock)
            {
                isLogging = true;
            }

            Task t = Task.Factory.StartNew(() => { LogData(); });
        }
示例#2
0
 private LogApp()
 {
     currentLog = new RoastLog();
     stopWatch  = new Stopwatch();
     isLogging  = false;
 }