/// <summary> /// Flushes the output buffer. /// </summary> public override void Flush() { if (this.LogFactory != null) { this.LogFactory.Flush(); } else { LogManager.Flush(); } }
/// <summary> /// Flushes the output (if <see cref="DisableFlush"/> is not <c>true</c>) buffer with the default timeout of 15 seconds. /// </summary> public override void Flush() { if (!DisableFlush) { if (LogFactory != null) { LogFactory.Flush(); } else { LogManager.Flush(); } } }