From a6cc6a59bb5c0e967a38043c6d00818a22d0bd9f Mon Sep 17 00:00:00 2001 From: Denis Nutiu Date: Wed, 26 Jan 2022 20:50:02 +0200 Subject: [PATCH] Use log in KeepFilenameFormatter --- ImageCore/Output/KeepFilenameFormatter.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ImageCore/Output/KeepFilenameFormatter.cs b/ImageCore/Output/KeepFilenameFormatter.cs index 2c603aa..d132ea1 100644 --- a/ImageCore/Output/KeepFilenameFormatter.cs +++ b/ImageCore/Output/KeepFilenameFormatter.cs @@ -34,6 +34,7 @@ namespace Image.Output /// An absolute path of the form output_directory/initialFileName.jpg public string GetOutputPath(string initialFilePath) { + Logger.LogDebug($"KeepFilenameFormatter - {_outputDirectory} - {initialFilePath}"); Guard.NotNullOrEmpty(initialFilePath, nameof(initialFilePath)); var fileName = Path.GetFileName(initialFilePath)?.Split(".")[0]; var path = Path.Join(_outputDirectory, $"{fileName}.jpg");