10 writes to FileSizeLimit
Microsoft.AspNetCore.HttpLogging.Tests (10)
FileLoggerProcessorTests.cs (9)
125FileSizeLimit = 5 167FileSizeLimit = 5 220FileSizeLimit = 5, 281FileSizeLimit = 5 366FileSizeLimit = 5 382options.FileSizeLimit = 10000; 429FileSizeLimit = 5, 448options.FileSizeLimit = 10000; 499FileSizeLimit = 10000,
W3CLoggerOptionsTests.cs (1)
21var 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)
33throw new ArgumentOutOfRangeException(nameof(value), $"{nameof(FileSizeLimit)} must be positive.");