1 write to _logger
Microsoft.AspNetCore.StaticFiles (1)
StaticFileMiddleware.cs (1)
44_logger = loggerFactory.CreateLogger<StaticFileMiddleware>();
7 references to _logger
Microsoft.AspNetCore.StaticFiles (7)
StaticFileMiddleware.cs (7)
49_logger.WebRootPathNotFound(Path.GetFullPath(Path.Combine(hostingEnv.ContentRootPath, hostingEnv.WebRootPath ?? "wwwroot"))); 62_logger.EndpointMatched(); 66_logger.RequestMethodNotSupported(context.Request.Method); 70_logger.PathMismatch(subPath); 74_logger.FileTypeNotSupported(subPath); 113var fileContext = new StaticFileContext(context, _options, _logger, _fileProvider, contentType, subPath); 117_logger.FileNotFound(fileContext.SubPath);