mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
Progress messages are logged with Logger.Progress
This commit is contained in:
parent
a7eb331d4e
commit
c184ec2d98
20 changed files with 166 additions and 90 deletions
|
@ -56,7 +56,12 @@ namespace NzbDrone.Core.ProgressMessaging
|
|||
return;
|
||||
}
|
||||
|
||||
var status = logEvent.Properties.ContainsKey("Status") ? (ProcessState)logEvent.Properties["Status"] : ProcessState.Running;
|
||||
if (!logEvent.Properties.ContainsKey("Status"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var status = (ProcessState)logEvent.Properties["Status"];
|
||||
|
||||
var message = new ProgressMessage();
|
||||
message.Time = logEvent.TimeStamp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue