Better logging for NzbDrone.Service

This commit is contained in:
kay.one 2012-02-15 22:16:57 -08:00
commit dde0432efc
8 changed files with 94 additions and 19 deletions

View file

@ -1,4 +1,5 @@
using System.Linq;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
namespace NzbDrone.Common.Contract
@ -7,5 +8,15 @@ namespace NzbDrone.Common.Contract
{
[JsonProperty("t")]
public string Title { get; set; }
protected override Dictionary<string, string> GetString()
{
var dic = new Dictionary<string, string>
{
{"Title", Title.NullCheck()},
};
return dic;
}
}
}