1 write to _logger
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\BuildHostProcessManager.cs (1)
470
_logger
= loggerFactory?.CreateLogger($"BuildHost PID {process.Id}");
8 references to _logger
Microsoft.CodeAnalysis.Workspaces.MSBuild (8)
MSBuild\BuildHostProcessManager.cs (8)
515
_logger
?.LogTrace($"Message on {outputName}: {e.Data}");
541
_logger
?.LogTrace("Sending a Shutdown request to the BuildHost.");
548
_logger
?.LogTrace($"{nameof(RpcClient)} has been shut down.");
553
_logger
?.LogError(e, "Exception while shutting down the BuildHost process.");
574
_logger
?.LogError(e, "Exception while trying to kill the BuildHost process.");
581
if (
_logger
== null)
587
_logger
.LogError("The BuildHost process is not responding. Process output:{newLine}{processLog}", Environment.NewLine, processLog);
589
_logger
.LogError("The BuildHost process exited with {errorCode}. Process output:{newLine}{processLog}", _process.ExitCode, Environment.NewLine, processLog);