public static void ExecutingFileResult(ILogger logger, FileResult fileResult, string fileName) { if (logger.IsEnabled(LogLevel.Information)) { var fileResultType = fileResult.GetType().Name; ExecutingFileResult(logger, fileResultType, fileName, fileResult.FileDownloadName); } }