public ExtensionContext(IInternalPluginManager pluginManager, IContext parentContext, IProgressContext progressContext) : base(progressContext) { ContractAssertions.IsNotNull(pluginManager, nameof(pluginManager)); ContractAssertions.IsNotNull(parentContext, nameof(parentContext)); _pluginManager = pluginManager; _parentContext = parentContext; _batchExtractor = new BatchExtractor(pluginManager, new ConcurrentLogger(ApplicationLevel.Ui, new NullLogOutput())); }
public ExtensionContext(IInternalPluginManager pluginManager, IContext parentContext, IProgressContext progressContext) : base(progressContext) { ContractAssertions.IsNotNull(pluginManager, nameof(pluginManager)); ContractAssertions.IsNotNull(parentContext, nameof(parentContext)); var logger = new LoggerConfiguration().WriteTo.Console().CreateLogger(); _parentContext = parentContext; _batchExtractor = new BatchExtractor(pluginManager, logger); }