public void StartLog() { currentLog = new RoastLog(); stopWatch.Restart(); lock (thisLock) { isLogging = true; } Task t = Task.Factory.StartNew(() => { LogData(); }); }
private LogApp() { currentLog = new RoastLog(); stopWatch = new Stopwatch(); isLogging = false; }