示例#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();
     }
 }