public Logger()

in tool/TeamCity.Docker/Logger.cs [11:35]


        public Logger(
            [NotNull] IOptions options,
            [NotNull] IEnvironment environment,
            [NotNull] ILogger consoleLogger,
            [NotNull] ILogger teamCityLogger)
        {
            if (environment == null)
            {
                throw new ArgumentNullException(nameof(environment));
            }

            if (consoleLogger == null)
            {
                throw new ArgumentNullException(nameof(consoleLogger));
            }

            if (teamCityLogger == null)
            {
                throw new ArgumentNullException(nameof(teamCityLogger));
            }

            _options = options;

            _logger = environment.HasEnvironmentVariable("TEAMCITY_VERSION") ? teamCityLogger : consoleLogger;
        }