Ejemplo n.º 1
0
        private static void SWrite(string msg, LogType lt)
        {
            using (var writer = new StreamWriter(lt.GetPath(), true))
            {
                writer.WriteLine(msg);
//                writer.Flush();
                writer.Close();
            }
        }