4 writes to _path
Microsoft.AspNetCore.HttpLogging (4)
FileLoggerProcessor.cs (4)
47_path = loggerOptions.LogDirectory; 53_path = Path.Join(environment.ContentRootPath, "logs"); 57_path = Path.Join(environment.ContentRootPath, _path); 89_path = loggerOptions.LogDirectory;
9 references to _path
Microsoft.AspNetCore.HttpLogging (9)
FileLoggerProcessor.cs (9)
51if (string.IsNullOrEmpty(_path)) 55else if (!Path.IsPathRooted(_path)) 57_path = Path.Join(environment.ContentRootPath, _path); 243if (!Directory.Exists(_path)) 247Directory.CreateDirectory(_path); 252Log.CreateDirectoryFailed(_logger, _path, ex); 282var files = new DirectoryInfo(_path) 307var files = new DirectoryInfo(_path) 329return Path.Combine(_path, FormattableString.Invariant($"{_fileName}{date.Year:0000}{date.Month:00}{date.Day:00}.{_fileNumber:0000}.txt"));