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);
113
var fileContext = new StaticFileContext(context, _options,
_logger
, _fileProvider, contentType, subPath);
117
_logger
.FileNotFound(fileContext.SubPath);