Пример #1
0
 public static void Debug(string message)
 {
     try
     {
         // traceLevel.Sort();
         //if (checkTracer("Debug"))
         //{
         TXTLogger txtLogger = new TXTLogger();
         txtLogger.Write(message, level.Debug, myWriteResetEvent);
         //}
     }
     catch
     {
     }
 }
Пример #2
0
 public static void Fatal(string message)
 {
     try
     {
         //  traceLevel.Sort();
         if (checkTracer("Fatal"))
         {
             TXTLogger txtLogger = new TXTLogger();
             txtLogger.Write(message, level.Fatal, myWriteResetEvent);
         }
     }
     catch
     {
     }
 }