From 00d9523d42096123843edf17b42579089597d950 Mon Sep 17 00:00:00 2001 From: Qstick Date: Mon, 15 Feb 2021 23:51:30 -0500 Subject: [PATCH] Fix Request SearchCriteria Logging --- .../IndexerSearch/Definitions/SearchCriteriaBase.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/NzbDrone.Core/IndexerSearch/Definitions/SearchCriteriaBase.cs b/src/NzbDrone.Core/IndexerSearch/Definitions/SearchCriteriaBase.cs index a48dba735..359ea2850 100644 --- a/src/NzbDrone.Core/IndexerSearch/Definitions/SearchCriteriaBase.cs +++ b/src/NzbDrone.Core/IndexerSearch/Definitions/SearchCriteriaBase.cs @@ -20,5 +20,10 @@ namespace NzbDrone.Core.IndexerSearch.Definitions public int? Limit { get; set; } public int? Offset { get; set; } public string Source { get; set; } + + public override string ToString() + { + return $"{{Term: {SearchTerm}, Offset: {Offset ?? 0}, Limit: {Limit ?? 0}, Categories: [{string.Join(", ", Categories)}]}}"; + } } }