Update more logging messages to use templates as opposed to string formats that were using the LoggerExtensions <T>

This commit is contained in:
Warren
2018-08-16 12:00:12 +01:00
parent d632b46f9a
commit 47c8651609
24 changed files with 88 additions and 60 deletions

View File

@@ -111,7 +111,7 @@ namespace Umbraco.Core.IO
}
catch (Exception e)
{
Logger.Error<MediaFileSystem>("Failed to delete attached file \"" + file + "\".", e);
Logger.Error<MediaFileSystem>("Failed to delete attached file '{File}'", e, file);
}
});
}