From fe46340af805d0cfaec2609922ad78c2e63ed45b Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Sat, 15 May 2021 14:31:19 -0500 Subject: [PATCH] fix(radarr): log one line per cf with no score It's a tuple with 3 values so it looks better with 1 per line --- CHANGELOG.md | 5 +++++ src/Trash/Radarr/CustomFormat/CustomFormatUpdater.cs | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f64a656..2548ca53 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- The log message listing custom formats without scores in the guide now prints information one per + line (improved readability) + ## [1.4.0] - 2021-05-14 ### Added diff --git a/src/Trash/Radarr/CustomFormat/CustomFormatUpdater.cs b/src/Trash/Radarr/CustomFormat/CustomFormatUpdater.cs index 72cb18bf..5daa9fb7 100644 --- a/src/Trash/Radarr/CustomFormat/CustomFormatUpdater.cs +++ b/src/Trash/Radarr/CustomFormat/CustomFormatUpdater.cs @@ -170,7 +170,10 @@ namespace Trash.Radarr.CustomFormat Log.Warning("The below custom formats have no score in the guide or YAML " + "config and will be skipped (remove them from your config or specify a " + "score to fix this warning)"); - Log.Warning("{CfList}", _guideProcessor.CustomFormatsWithoutScore); + foreach (var tuple in _guideProcessor.CustomFormatsWithoutScore) + { + Log.Warning("{CfList}", tuple); + } } if (_guideProcessor.CustomFormatsWithOutdatedNames.Count > 0)