3 writes to Logger
Microsoft.AspNetCore.Rewrite (1)
RewriteMiddleware.cs (1)
60
Logger
= _logger,
Microsoft.AspNetCore.Rewrite.Tests (2)
IISUrlRewrite\InputParserTests.cs (2)
96
var rewriteContext= new RewriteContext { HttpContext = new DefaultHttpContext(features), StaticFileProvider = null,
Logger
= NullLogger.Instance };
162
return new RewriteContext { HttpContext = context, StaticFileProvider = null,
Logger
= NullLogger.Instance };
13 references to Logger
Microsoft.AspNetCore.Rewrite (13)
ApacheModRewrite\ApacheModRewriteRule.cs (3)
28
context.
Logger
.ModRewriteNotMatchedRule();
38
context.
Logger
.ModRewriteNotMatchedRule();
47
context.
Logger
.ModRewriteMatchedRule();
IISUrlRewrite\IISUrlRewriteRule.cs (3)
55
context.
Logger
.UrlRewriteNotMatchedRule(Name);
65
context.
Logger
.UrlRewriteNotMatchedRule(Name);
70
context.
Logger
.UrlRewriteMatchedRule(Name);
RedirectRule.cs (1)
102
context.
Logger
.RedirectedRequest(newPath);
RedirectToHttpsRule.cs (1)
38
context.
Logger
.RedirectedToHttps();
RedirectToNonWwwRule.cs (1)
57
context.
Logger
.RedirectedToNonWww();
RedirectToWwwRule.cs (1)
57
context.
Logger
.RedirectedToWww();
RewriteRule.cs (1)
99
context.
Logger
.RewrittenRequest(result);
UrlActions\AbortAction.cs (1)
14
context.
Logger
.AbortedRequest(context.HttpContext.Request.Path + context.HttpContext.Request.QueryString);
UrlActions\CustomResponseAction.cs (1)
47
context.
Logger
.CustomResponse(context.HttpContext.Request.GetEncodedUrl());