1 write to _logger
aspire (1)
DotNet\ProcessExecution.cs (1)
59_logger = logger;
21 references to _logger
aspire (21)
DotNet\ProcessExecution.cs (21)
147_logger.LogDebug("{FileName}({ProcessId}) started in {WorkingDirectory}", _fileName, process.Id, _startInfo.WorkingDirectory); 190_logger.LogDebug("Launching detached child process through DCP fork-process: {DcpPath}", dcpExecutable.ExecutablePath); 204_logger.LogDebug("{FileName}({ProcessId}) waiting for exit", _fileName, process.Id); 212_logger.LogDebug("{FileName}({ProcessId}) wait was canceled, stopping it", _fileName, process.Id); 228_logger.LogDebug("{FileName}({ProcessId}) exited with code: {ExitCode}", _fileName, process.Id, process.ExitCode); 338_logger.LogWarning(ex, "Failed to kill {FileName} (pid {Pid}).", _fileName, GetSafePid(process)); 356_logger.LogWarning(ex, "Error draining killed {FileName} (pid {Pid}).", _fileName, GetSafePid(process)); 393_logger.LogDebug("{FileName} process {ProcessId} already exited.", _fileName, process.Id); 399ProcessSignaler.RequestGracefulShutdown(process.Id, expectedStartTime: null, _logger); 407_logger.LogDebug( 416_logger.LogDebug( 424_logger.LogDebug( 458_logger.LogWarning(ex, "Failed to issue graceful shutdown to {FileName} (pid {Pid}); escalating to kill.", _fileName, pid); 550_logger.LogDebug(ex, "{FileName} IsolatedProcess dispose threw", _fileName); 576if (_logger.IsEnabled(LogLevel.Trace)) 578_logger.LogTrace("{FileName}({ProcessId}) stdout: {Line}", _fileName, sender.Id, line); 587if (_logger.IsEnabled(LogLevel.Trace)) 589_logger.LogTrace("{FileName}({ProcessId}) stderr: {Line}", _fileName, sender.Id, line); 611_logger.LogWarning(ex, "{FileName}({ProcessId}) stdout/stderr pump faulted while draining after exit", _fileName, process.Id); 614_logger.LogDebug("{FileName}({ProcessId}) output drained", _fileName, process.Id); 625_logger.LogWarning("{FileName}({ProcessId}) stdout/stderr pumps did not drain within idle timeout after exit", _fileName, process.Id);