Beispiel #1
0
 public FileLoggerProvider(FileLoggerOptions options)
 {
     _options          = options;
     _fileLoggerWriter = new FileLoggerWriter(options);
 }
Beispiel #2
0
 public FileLoggerWriter(FileLoggerOptions options)
 {
     Options = options;
     _logDir = Options.Path ?? Path.Combine(AppContext.BaseDirectory, "logs");
     BeginAsyncQueueWriter();
 }