1 write to IsResponseBodyLogLimitSet
Microsoft.AspNetCore.HttpLogging (1)
HttpLoggingAttribute.cs (1)
82
IsResponseBodyLogLimitSet
= true;
4 references to IsResponseBodyLogLimitSet
Microsoft.AspNetCore.HttpLogging (4)
HttpLoggingAttribute.cs (3)
67
/// <exception cref="InvalidOperationException">Thrown when getting <see cref="ResponseBodyLogLimit"/> if it hasn't been set to a value. Check <see cref="
IsResponseBodyLogLimitSet
"/> first.</exception>
72
if (
IsResponseBodyLogLimitSet
)
76
throw new InvalidOperationException($"{nameof(ResponseBodyLogLimit)} was not set. Check {nameof(
IsResponseBodyLogLimitSet
)} before accessing this property.");
HttpLoggingMiddleware.cs (1)
88
if (loggingAttribute?.
IsResponseBodyLogLimitSet
is true)