Example #1
0
File: Tracer.cs Project: jjg0519/OA
 public static void Debug(string message)
 {
     try
     {
         // traceLevel.Sort();
         //if (checkTracer("Debug"))
         //{
         TXTLogger txtLogger = new TXTLogger();
         txtLogger.Write(message, level.Debug, myWriteResetEvent);
         //}
     }
     catch
     {
     }
 }
Example #2
0
File: Tracer.cs Project: jjg0519/OA
 public static void Fatal(string message)
 {
     try
     {
         //  traceLevel.Sort();
         if (checkTracer("Fatal"))
         {
             TXTLogger txtLogger = new TXTLogger();
             txtLogger.Write(message, level.Fatal, myWriteResetEvent);
         }
     }
     catch
     {
     }
 }