1 write to _logger
Aspire.Hosting (1)
Publishing\ContainerRuntimeBase.cs (1)
28_logger = logger ?? throw new ArgumentNullException(nameof(logger));
30 references to _logger
Aspire.Hosting (30)
Publishing\ContainerRuntimeBase.cs (30)
35protected ILogger<TLogger> Logger => _logger; 339_logger.LogDebug("{RuntimeName} (stdout): {Output}", RuntimeExecutable, output); 343_logger.LogDebug("{RuntimeName} (stderr): {Error}", RuntimeExecutable, error); 349_logger.LogDebug("Running {RuntimeName} with arguments: {Arguments}", RuntimeExecutable, arguments); 350_logger.LogDebug("Password length being passed to stdin: {PasswordLength}", password?.Length ?? 0); 361_logger.LogError("{RuntimeName} login to {RegistryServer} failed with exit code {ExitCode}.", Name, registryServer, processResult.ExitCode); 372_logger.LogInformation("{RuntimeName} login to {RegistryServer} succeeded.", Name, registryServer); 395_logger.LogDebug("Running {RuntimeName} with arguments: {ArgumentList}", Name, spec.Arguments); 407_logger.LogError(errorLogTemplate, errorArgs); 418_logger.LogInformation(successLogTemplate, logArguments); 576_logger.LogDebug("Running {RuntimeName} with arguments: {ArgumentList}", Name, spec.ArgumentList ?? (object?)spec.Arguments); 588_logger.LogError(errorLogTemplate, errorArgs); 592_logger.LogDebug(successLogTemplate, logArguments); 609_logger.LogDebug("{RuntimeName} (stdout): {Output}", RuntimeExecutable, output); 624_logger.LogDebug("{RuntimeName} (stdout): {Output}", RuntimeExecutable, output); 636_logger.LogDebug("Running {RuntimeName} with arguments: {ArgumentList}", Name, spec.ArgumentList ?? (object?)spec.Arguments); 649_logger.LogError("{RuntimeName} {OperationName} for {ImageName} failed with exit code {ExitCode}.", Name, operationName, imageName, processResult.ExitCode); 653_logger.LogDebug("{RuntimeName} {OperationName} for {ImageName} succeeded.", Name, operationName, imageName); 680_logger.LogDebug("{RuntimeName} (stdout): {Output}", RuntimeExecutable, output); 684_logger.LogDebug("{RuntimeName} (stderr): {Error}", RuntimeExecutable, error); 700_logger.LogInformation("Using container runtime '{Runtime}' for compose operations.", RuntimeExecutable); 701_logger.LogDebug("Running {Runtime} compose up with arguments: {Arguments}", RuntimeExecutable, arguments); 712_logger.LogDebug("{Runtime} compose up (stdout): {Output}", RuntimeExecutable, output); 716_logger.LogDebug("{Runtime} compose up (stderr): {Error}", RuntimeExecutable, error); 756_logger.LogDebug("Running {Runtime} compose down with arguments: {Arguments}", RuntimeExecutable, arguments); 767_logger.LogDebug("{Runtime} compose down (stdout): {Output}", RuntimeExecutable, output); 771_logger.LogDebug("{Runtime} compose down (stderr): {Error}", RuntimeExecutable, error); 825_logger.LogDebug("{Runtime} compose ps (stderr): {Error}", RuntimeExecutable, error); 840_logger.LogDebug("{Runtime} compose ps failed with exit code {ExitCode}", RuntimeExecutable, processResult.ExitCode); 980_logger.LogDebug(ex, "Failed to check if {Runtime} is available on PATH", RuntimeExecutable);