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)
35
protected 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);