Refactor some logging.
This commit is contained in:
@@ -159,7 +159,6 @@ namespace MarketData.Helper
|
||||
return false;
|
||||
}
|
||||
MDTrace.WriteLine(LogLevel.DEBUG,String.Format("Got {0} dividend history records for {1}", dividendHistory.Count, symbol));
|
||||
MDTrace.WriteLine(LogLevel.DEBUG,"Adding...");
|
||||
if (DividendHistoryDA.InsertOrUpdate(dividendHistory)) MDTrace.WriteLine(LogLevel.DEBUG,String.Format("Added {0} dividend history records for {1}", dividendHistory.Count, symbol));
|
||||
else MDTrace.WriteLine(LogLevel.DEBUG,String.Format("Failed to update dividend history for {0}", symbol));
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user