1 write to _logContext
Microsoft.AspNetCore.HttpLogging (1)
ResponseBufferingStream.cs (1)
35
_logContext
= logContext;
6 references to _logContext
Microsoft.AspNetCore.HttpLogging (6)
ResponseBufferingStream.cs (6)
108
HttpLoggingMiddleware.LogResponseHeadersSync(
_logContext
, _options, _interceptors, _logger);
118
await HttpLoggingMiddleware.LogResponseHeadersAsync(
_logContext
, _options, _interceptors, _logger);
126
if (
_logContext
.LoggingFields.HasFlag(HttpLoggingFields.ResponseBody) &&
_logContext
.ResponseBodyLogLimit > 0)
128
if (MediaTypeHelpers.TryGetEncodingForMediaType(
_logContext
.HttpContext.Response.ContentType,
132
_limit =
_logContext
.ResponseBodyLogLimit;