20 references to None
HttpLogging.Sample (1)
SampleHttpLoggingInterceptor.cs (1)
15
logContext.LoggingFields = HttpLoggingFields.
None
;
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Logging\HttpLoggingRedactionInterceptor.cs (1)
70
logContext.LoggingFields = HttpLoggingFields.
None
;
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Logging\AcceptanceTests.cs (1)
726
o.LoggingFields = HttpLoggingFields.
None
;
Microsoft.AspNetCore.HttpLogging (3)
HttpLoggingInterceptorContext.cs (2)
108
return (LoggingFields & fields) != HttpLoggingFields.
None
;
139
LoggingFields = HttpLoggingFields.
None
;
HttpLoggingMiddleware.cs (1)
61
if (_interceptors.Length == 0 && loggingFields == HttpLoggingFields.
None
)
Microsoft.AspNetCore.HttpLogging.Tests (14)
HttpLoggingAttributeTests.cs (3)
11
var ex = Assert.Throws<ArgumentOutOfRangeException>(() => new HttpLoggingAttribute(HttpLoggingFields.
None
) { RequestBodyLogLimit = -1 });
14
ex = Assert.Throws<ArgumentOutOfRangeException>(() => new HttpLoggingAttribute(HttpLoggingFields.
None
) { ResponseBodyLogLimit = -1 });
21
var attribute = new HttpLoggingAttribute(HttpLoggingFields.
None
);
HttpLoggingEndpointConventionBuilderTests.cs (2)
45
testConventionBuilder.WithHttpLogging(HttpLoggingFields.
None
, requestBodyLogLimit: -1));
49
testConventionBuilder.WithHttpLogging(HttpLoggingFields.
None
, responseBodyLogLimit: -1));
HttpLoggingMiddlewareTests.cs (9)
104
options.CurrentValue.LoggingFields = HttpLoggingFields.
None
;
719
context.LoggingFields = HttpLoggingFields.
None
;
733
options.CurrentValue.LoggingFields = HttpLoggingFields.
None
;
1617
context.LoggingFields = HttpLoggingFields.
None
;
1641
options.CurrentValue.LoggingFields = HttpLoggingFields.
None
;
1741
var app = CreateApp(defaultFields: HttpLoggingFields.
None
);
1788
var app = CreateApp(HttpLoggingFields.
None
, new FakeInterceptor(requestContext =>
1831
var app = CreateApp(defaultFields: HttpLoggingFields.
None
);
1878
var app = CreateApp(HttpLoggingFields.
None
, new FakeInterceptor(requestContext =>