Exemplo n.º 1
0
 bool writeLogTo(string fileName, List <double> text)
 {
     fileName = fileName ?? logPath;
     return(FileTools.SaveListTo(fileName, text));
 }
Exemplo n.º 2
0
        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);
        }