Flush() public method

public Flush ( ) : void
return void
Example #1
0
 /// <summary>
 /// Removes Log listener.
 /// </summary>
 /// <param name="listener"></param>
 public static void RemoveListener(LogListener listener)
 {
     lock (lockObj) {
         listeners.Remove(listener);
         listener.Flush();
     }
 }
Example #2
0
		/// <summary>
		/// Removes Log listener.
		/// </summary>
		/// <param name="listener"></param>
		public static void RemoveListener ( LogListener listener )
		{
			lock (lockObj) {
				listeners.Remove( listener );
				listener.Flush();
			}
		}