private void SetLogDataToLog(Dictionary <string, object> logData, LogBase log) { if (logData != null) { logData.Keys.ToList().ForEach(key => { if (log.TrySetValue(key, logData[key])) { // TODO: add handling for values that can't be added } }); } }
private void SetLogDataToLog(Dictionary <string, object> logData, LogBase log) { if (logData != null) { logData.Keys.ToList().ForEach(key => { if (log.TrySetValue(key, logData[key])) { // TODO: add handling for values that can't be added } }); } }