mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Added progress messaging, using info logging
Also extension methods for complete and failed (for coloured UI messaging)
This commit is contained in:
parent
eeda4e83f9
commit
c928ccb201
21 changed files with 191 additions and 32 deletions
|
@ -1,5 +1,6 @@
|
|||
using System.Linq;
|
||||
using NLog;
|
||||
using NzbDrone.Common.Instrumentation;
|
||||
using NzbDrone.Common.Messaging;
|
||||
using NzbDrone.Core.DecisionEngine;
|
||||
using NzbDrone.Core.Download;
|
||||
|
@ -38,7 +39,7 @@ namespace NzbDrone.Core.Indexers
|
|||
var decisions = _downloadDecisionMaker.GetRssDecision(reports);
|
||||
var qualifiedReports = _downloadApprovedReports.DownloadApproved(decisions);
|
||||
|
||||
_logger.Info("RSS Sync Completed. Reports found: {0}, Reports downloaded: {1}", reports.Count, qualifiedReports.Count());
|
||||
_logger.Complete("RSS Sync Completed. Reports found: {0}, Reports downloaded: {1}", reports.Count, qualifiedReports.Count());
|
||||
}
|
||||
|
||||
public void Execute(RssSyncCommand message)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue