Log.cs
branchOUT-428
changeset 2177 b2a7ad8e114b
parent 2163 a0204de8d671
child 2178 ca3466980871
     1.1 --- a/Log.cs	Tue May 08 11:11:16 2018 +0200
     1.2 +++ b/Log.cs	Wed May 09 13:32:55 2018 +0200
     1.3 @@ -116,6 +116,9 @@
     1.4              {
     1.5                  if (text != null)
     1.6                  {
     1.7 +#if DEBUG
     1.8 +                    Debug.WriteLine(text);
     1.9 +#endif
    1.10                      lock (mutexLogFile)
    1.11                      {
    1.12                          if (Log.logWriter == null)
    1.13 @@ -136,10 +139,6 @@
    1.14                          }
    1.15  
    1.16                          Log.logWriter.WriteLine(text);
    1.17 -#if DEBUG
    1.18 -                        Debug.WriteLine(text);
    1.19 -#endif
    1.20 -
    1.21                          Log.logLineCount++;
    1.22  
    1.23                          // If the maximum line count was reached, clean up the log file by removing the first lines.