public EditorServicesRunner(
     HostLogger logger,
     EditorServicesConfig config,
     ISessionFileWriter sessionFileWriter,
     IReadOnlyCollection <IDisposable> loggersToUnsubscribe)
 {
     _logger                 = logger;
     _config                 = config;
     _sessionFileWriter      = sessionFileWriter;
     _serverFactory          = EditorServicesServerFactory.Create(_config.LogPath, (int)_config.LogLevel, logger);
     _alreadySubscribedDebug = false;
     _loggersToUnsubscribe   = loggersToUnsubscribe;
 }
 public EditorServicesRunner(
     HostLogger logger,
     EditorServicesConfig config,
     ISessionFileWriter sessionFileWriter,
     IReadOnlyCollection <IDisposable> loggersToUnsubscribe)
 {
     _logger            = logger;
     _config            = config;
     _sessionFileWriter = sessionFileWriter;
     // NOTE: This factory helps to isolate `Microsoft.Extensions.Logging/DependencyInjection`.
     _serverFactory          = EditorServicesServerFactory.Create(_config.LogPath, (int)_config.LogLevel, logger);
     _alreadySubscribedDebug = false;
     _loggersToUnsubscribe   = loggersToUnsubscribe;
 }