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); 527_logger.LogDebug("Running {RuntimeName} with arguments: {ArgumentList}", Name, spec.Arguments); 539_logger.LogError(errorLogTemplate, errorArgs); 543_logger.LogDebug(successLogTemplate, logArguments); 560_logger.LogDebug("{RuntimeName} (stdout): {Output}", RuntimeExecutable, output); 575_logger.LogDebug("{RuntimeName} (stdout): {Output}", RuntimeExecutable, output); 587_logger.LogDebug("Running {RuntimeName} with arguments: {ArgumentList}", Name, spec.ArgumentList ?? (object?)spec.Arguments); 600_logger.LogError("{RuntimeName} {OperationName} for {ImageName} failed with exit code {ExitCode}.", Name, operationName, imageName, processResult.ExitCode); 604_logger.LogDebug("{RuntimeName} {OperationName} for {ImageName} succeeded.", Name, operationName, imageName); 631_logger.LogDebug("{RuntimeName} (stdout): {Output}", RuntimeExecutable, output); 635_logger.LogDebug("{RuntimeName} (stderr): {Error}", RuntimeExecutable, error); 651_logger.LogInformation("Using container runtime '{Runtime}' for compose operations.", RuntimeExecutable); 652_logger.LogDebug("Running {Runtime} compose up with arguments: {Arguments}", RuntimeExecutable, arguments); 663_logger.LogDebug("{Runtime} compose up (stdout): {Output}", RuntimeExecutable, output); 667_logger.LogDebug("{Runtime} compose up (stderr): {Error}", RuntimeExecutable, error); 707_logger.LogDebug("Running {Runtime} compose down with arguments: {Arguments}", RuntimeExecutable, arguments); 718_logger.LogDebug("{Runtime} compose down (stdout): {Output}", RuntimeExecutable, output); 722_logger.LogDebug("{Runtime} compose down (stderr): {Error}", RuntimeExecutable, error); 776_logger.LogDebug("{Runtime} compose ps (stderr): {Error}", RuntimeExecutable, error); 791_logger.LogDebug("{Runtime} compose ps failed with exit code {ExitCode}", RuntimeExecutable, processResult.ExitCode); 931_logger.LogDebug(ex, "Failed to check if {Runtime} is available on PATH", RuntimeExecutable);