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