bool writeLogTo(string fileName, List <double> text) { fileName = fileName ?? logPath; return(FileTools.SaveListTo(fileName, text)); }
void createLog(string log) { string firstLine = String.Format("Log started: {0:dd.MM.yyy HH:mm:ss}", DateTime.Now) + Environment.NewLine; FileTools.WriteTo(log, firstLine); }