1 write to HttpContext
Microsoft.AspNetCore.HttpLogging (1)
HttpLoggingMiddleware.cs (1)
77
logContext.
HttpContext
= context;
8 references to HttpContext
HttpLogging.Sample (4)
SampleHttpLoggingInterceptor.cs (4)
13
if (!logContext.
HttpContext
.Request.Path.StartsWithSegments("/api"))
41
foreach (var header in logContext.
HttpContext
.Request.Headers)
49
foreach (var header in logContext.
HttpContext
.Response.Headers)
85
logContext.AddParameter(nameof(logContext.
HttpContext
.Request.Path), "RedactedPath");
Microsoft.AspNetCore.Diagnostics.Middleware (2)
Logging\HttpLoggingRedactionInterceptor.cs (2)
66
var context = logContext.
HttpContext
;
137
var context = logContext.
HttpContext
;
Microsoft.AspNetCore.HttpLogging (2)
HttpLoggingMiddleware.cs (1)
331
var response = logContext.
HttpContext
.Response;
ResponseBufferingStream.cs (1)
128
if (MediaTypeHelpers.TryGetEncodingForMediaType(_logContext.
HttpContext
.Response.ContentType,