Пример #1
0
 /// <summary>
 /// Adds a new entry to the log (no overflow check for sync traces)
 /// </summary>
 public static void Add(TraceItem traceItem)
 {
     lock (asyncQueue)
     {
         asyncQueue.Add(traceItem);
         asyncTimer.Start();
     }
 }
Пример #2
0
 /// <summary>
 /// Adds a new entry to the log (no overflow check for sync traces)
 /// </summary>
 public static void Add(TraceItem traceItem)
 {
     lock (asyncQueue)
     {
         asyncQueue.Add(traceItem);
         asyncTimer.Start();
     }
 }