New: Improved Logging of Search for ID based searches

This commit is contained in:
bakerboy448
2021-08-27 19:18:34 -05:00
parent e49d03ab7b
commit c21e323992
4 changed files with 94 additions and 3 deletions
@@ -21,9 +21,17 @@ namespace NzbDrone.Core.IndexerSearch.Definitions
public string Source { get; set; }
public string Host { get; set; }
public virtual string SearchQuery
{
get
{
return $"Term: [{SearchTerm}]";
}
}
public override string ToString()
{
return $"{{Term: {SearchTerm}, Offset: {Offset ?? 0}, Limit: {Limit ?? 0}, Categories: [{string.Join(", ", Categories)}]}}";
return $"{SearchQuery}, Offset: {Offset ?? 0}, Limit: {Limit ?? 0}, Categories: [{string.Join(", ", Categories)}]";
}
public virtual bool RssSearch