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