public void Log(object sender, LogEventArgs args) { _logWriter.WriteLine(_formatter.Format(args)); _logWriter.Flush(); }