public override void Flush() { lock (_lock) { LogAsync(_logBuffer); _logBuffer = new StringBuilder(); } }