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