diff Implab/Diagnostics/TextFileListener.cs @ 43:7c2369f580b8

improved tracing, TextListenerBase can be bound to logical operation scope.
author cin
date Wed, 16 Apr 2014 10:12:56 +0400
parents fe33f4e02ad5
children e5ec543feee3
line wrap: on
line diff
--- a/Implab/Diagnostics/TextFileListener.cs	Wed Apr 16 00:33:09 2014 +0400
+++ b/Implab/Diagnostics/TextFileListener.cs	Wed Apr 16 10:12:56 2014 +0400
@@ -8,7 +8,7 @@
     public class TextFileListener: TextListenerBase {
         readonly TextWriter m_textWriter;
 
-        public TextFileListener(string fileName) {
+        public TextFileListener(string fileName) : base(true) {
             m_textWriter = File.CreateText(fileName);
 
             m_textWriter.WriteLine("LOG {0}", DateTime.Now);