示例#1
0
 public LoggingSynchronizer(ISynchronizer decoratedSynchronizer, ILoggerFactory loggerFactory)
 {
     this.decoratedSynchronizer = decoratedSynchronizer;
     this.synchronizerName      = decoratedSynchronizer.GetType().Name;
     this.logger = loggerFactory.Create($"{logger}.txt", "Synchronizers");
 }