1 write to IsRequestBodyLogLimitSet
Microsoft.AspNetCore.HttpLogging (1)
HttpLoggingAttribute.cs (1)
54
IsRequestBodyLogLimitSet
= true;
4 references to IsRequestBodyLogLimitSet
Microsoft.AspNetCore.HttpLogging (4)
HttpLoggingAttribute.cs (3)
38
/// <exception cref="InvalidOperationException">Thrown when getting <see cref="RequestBodyLogLimit"/> if it hasn't been set to a value. Check <see cref="
IsRequestBodyLogLimitSet
"/> first.</exception>
43
if (
IsRequestBodyLogLimitSet
)
48
throw new InvalidOperationException($"{nameof(RequestBodyLogLimit)} was not set. Check {nameof(
IsRequestBodyLogLimitSet
)} before accessing this property.");
HttpLoggingMiddleware.cs (1)
84
if (loggingAttribute?.
IsRequestBodyLogLimitSet
is true)