##// END OF EJS Templates
Рефакторинг, журналирование
cin -
r44:e5ec543feee3 default
parent child
Show More
@@ -8,7 +8,7 namespace Implab.Diagnostics {
8 public class TextFileListener: TextListenerBase {
8 public class TextFileListener: TextListenerBase {
9 readonly TextWriter m_textWriter;
9 readonly TextWriter m_textWriter;
10
10
11 public TextFileListener(string fileName) : base(true) {
11 public TextFileListener(string fileName, bool local) : base(local) {
12 m_textWriter = File.CreateText(fileName);
12 m_textWriter = File.CreateText(fileName);
13
13
14 m_textWriter.WriteLine("LOG {0}", DateTime.Now);
14 m_textWriter.WriteLine("LOG {0}", DateTime.Now);
General Comments 0
You need to be logged in to leave comments. Login now