1 write to _logger
Aspire.Hosting (1)
Publishing\ContainerRuntimeBase.cs (1)
22
_logger
= logger ?? throw new ArgumentNullException(nameof(logger));
15 references to _logger
Aspire.Hosting (15)
Publishing\ContainerRuntimeBase.cs (15)
28
protected ILogger<TLogger> Logger =>
_logger
;
93
_logger
.LogDebug("{RuntimeName} (stdout): {Output}", RuntimeExecutable, output);
97
_logger
.LogDebug("{RuntimeName} (stderr): {Error}", RuntimeExecutable, error);
103
_logger
.LogDebug("Running {RuntimeName} with arguments: {Arguments}", RuntimeExecutable, arguments);
104
_logger
.LogDebug("Password length being passed to stdin: {PasswordLength}", password?.Length ?? 0);
115
_logger
.LogError("{RuntimeName} login to {RegistryServer} failed with exit code {ExitCode}.", Name, registryServer, processResult.ExitCode);
119
_logger
.LogInformation("{RuntimeName} login to {RegistryServer} succeeded.", Name, registryServer);
142
_logger
.LogDebug("Running {RuntimeName} with arguments: {ArgumentList}", Name, spec.Arguments);
154
_logger
.LogError(errorLogTemplate, errorArgs);
158
_logger
.LogInformation(successLogTemplate, logArguments);
191
_logger
.LogDebug("Running {RuntimeName} with arguments: {ArgumentList}", Name, spec.Arguments);
203
_logger
.LogError(errorLogTemplate, errorArgs);
207
_logger
.LogDebug(successLogTemplate, logArguments);
274
_logger
.LogDebug("{RuntimeName} (stdout): {Output}", RuntimeExecutable, output);
278
_logger
.LogDebug("{RuntimeName} (stderr): {Error}", RuntimeExecutable, error);