示例#1
0
 /// <summary>
 /// Clears all captured events
 /// </summary>
 public void Clear()
 {
     lock (LoggerEvents)
     {
         ClearLastEvent();
         LoggerEvents.Clear();
     }
 }
示例#2
0
 public void Clear()
 {
     lock (LoggerEvents)
     {
         lastEvent = null;
         LoggerEvents.Clear();
     }
 }