| 1234567891011121314151617181920212223 | 
							- using System;
 
- using System.Collections.Generic;
 
- using System.Diagnostics;
 
- using System.Linq;
 
- using System.Web;
 
- namespace iBemsDataService.Util
 
- {
 
-     public class Logger
 
-     {
 
-         private static Boolean IS_DEBUG = false;
 
-         private static String debugPath = "e:\\monitoring.txt";
 
-         public static void debug()
 
-         {
 
-             if (IS_DEBUG)
 
-             {
 
-                 var listener = new TextWriterTraceListener(debugPath);
 
-                 Trace.Listeners.Add(listener);
 
-                 Trace.AutoFlush = true;
 
-             }
 
-         }
 
-     }
 
- }
 
 
  |