1 write to IsRequestBodyLogLimitSet
Microsoft.AspNetCore.HttpLogging (1)
HttpLoggingAttribute.cs (1)
54IsRequestBodyLogLimitSet = 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> 43if (IsRequestBodyLogLimitSet) 48throw new InvalidOperationException($"{nameof(RequestBodyLogLimit)} was not set. Check {nameof(IsRequestBodyLogLimitSet)} before accessing this property.");
HttpLoggingMiddleware.cs (1)
84if (loggingAttribute?.IsRequestBodyLogLimitSet is true)