BF2Statistics.Logging.LogWriter.ClearLog C# (CSharp) Method

ClearLog() public method

Queues the underlying log writer to empty the logfile before appending any more messages to it. Messages that are awaiting to be written to the log file are NOT removed from Queue
public ClearLog ( ) : void
return void
        public async void ClearLog()
        {
            QueueTruncate = true;

            // Since we are clearing, we wait until the current
            // operation is finished
            if (FlushTask.Status == TaskStatus.Running)
                await FlushTask;
        }