private void WriteLog(ILogWriter logWriter, LogEntry logEntry) { try { logWriter.WriteLog(logEntry); } catch (Exception err) { LogWriteErrorOccurred.IfNotNull(i => i(logWriter, logEntry, err)); } }
private void LogWriter_LogWriteErrorOccurred(ILogWriter logWriter, LogEntry logEntry, Exception err) { LogWriteErrorOccurred.IfNotNull(i => i(logWriter, logEntry, err)); }