10 writes to FileSizeLimit
Microsoft.AspNetCore.HttpLogging.Tests (10)
FileLoggerProcessorTests.cs (9)
125
FileSizeLimit
= 5
167
FileSizeLimit
= 5
220
FileSizeLimit
= 5,
281
FileSizeLimit
= 5
366
FileSizeLimit
= 5
382
options.
FileSizeLimit
= 10000;
429
FileSizeLimit
= 5,
448
options.
FileSizeLimit
= 10000;
499
FileSizeLimit
= 10000,
W3CLoggerOptionsTests.cs (1)
21
var ex = Assert.Throws<ArgumentOutOfRangeException>(() => options.
FileSizeLimit
= -1);
3 references to FileSizeLimit
Microsoft.AspNetCore.HttpLogging (3)
FileLoggerProcessor.cs (2)
61
_maxFileSize = loggerOptions.
FileSizeLimit
;
93
_maxFileSize = loggerOptions.
FileSizeLimit
;
W3CLoggerOptions.cs (1)
33
throw new ArgumentOutOfRangeException(nameof(value), $"{nameof(
FileSizeLimit
)} must be positive.");