Log replacement regex

pull/5086/head
Mark McDowall 2 years ago
parent 35edef91c6
commit ab578566be

@ -561,6 +561,7 @@ namespace NzbDrone.Core.Parser
{
if (replace.TryReplace(ref releaseTitle))
{
Logger.Trace($"Replace regex: {replace}");
Logger.Debug("Substituted with " + releaseTitle);
}
}

@ -42,5 +42,10 @@ namespace NzbDrone.Core.Parser
input = _regex.Replace(input, _replacementFormat);
return result;
}
public override string ToString()
{
return _regex.ToString();
}
}
}

Loading…
Cancel
Save