Use log in KeepFilenameFormatter
This commit is contained in:
parent
292d8e0dac
commit
a6cc6a59bb
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ namespace Image.Output
|
|||
/// <returns>An absolute path of the form output_directory/initialFileName.jpg</returns>
|
||||
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");
|
||||
|
|
Loading…
Reference in a new issue