Log replacement regex
This commit is contained in:
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…
Reference in New Issue