Пример #1
0
 public FileLogger(string name, FileLogOptions options, FileLoggerProcessor messageQueue)
 {
     if (name == null)
     {
         throw new ArgumentNullException(nameof(name));
     }
     _options      = options;
     this.Name     = name;
     _messageQueue = messageQueue;
 }
 public MyFileLoggerProvider(FileLogOptions options)
 {
     _options      = options;
     _messageQueue = new FileLoggerProcessor(_options);
 }