1 write to RequestBodyLogLimit
Microsoft.AspNetCore.HttpLogging (1)
HttpLoggingEndpointConventionBuilderExtensions.cs (1)
31
metadata.
RequestBodyLogLimit
= requestBodyLogLimit.Value;
7 references to RequestBodyLogLimit
Microsoft.AspNetCore.HttpLogging (7)
HttpLoggingAttribute.cs (5)
30
/// Indicates whether <see cref="
RequestBodyLogLimit
"/> has been set.
37
/// <exception cref="ArgumentOutOfRangeException">Thrown when <see cref="
RequestBodyLogLimit
"/> set to a value less than <c>0</c>.</exception>
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>
48
throw new InvalidOperationException($"{nameof(
RequestBodyLogLimit
)} was not set. Check {nameof(IsRequestBodyLogLimitSet)} before accessing this property.");
52
ArgumentOutOfRangeException.ThrowIfLessThan(value, 0, nameof(
RequestBodyLogLimit
));
HttpLoggingInterceptorContext.cs (1)
54
/// <see cref="HttpLoggingAttribute.
RequestBodyLogLimit
"/>, or
HttpLoggingMiddleware.cs (1)
90
logContext.RequestBodyLogLimit = loggingAttribute.
RequestBodyLogLimit
;