NLog.NLogTraceListener.Flush C# (CSharp) Method

Flush() public method

Flushes the output (if DisableFlush is not true) buffer with the default timeout of 15 seconds.
public Flush ( ) : void
return void
        public override void Flush()
        {
            if (!this.DisableFlush)
            {
                if (this.LogFactory != null)
                {
                    this.LogFactory.Flush();
                }
                else
                {
                    LogManager.Flush();
                }
            }
        }