public override void Flush()
{
if (!this.DisableFlush)
{
if (this.LogFactory != null)
{
this.LogFactory.Flush();
}
else
{
LogManager.Flush();
}
}
}