1 write to _logger
Microsoft.DotNet.Baselines.Tasks (1)
PRCreator.cs (1)
32
_logger
= logger;
11 references to _logger
Microsoft.DotNet.Baselines.Tasks (11)
PRCreator.cs (11)
53
_logger
.LogMessage(MessageImportance.High, $"Starting PR creation at {startTime} UTC.");
67
return !
_logger
.HasLoggedErrors;
77
_logger
.LogError($"Failed to fetch the original tree for branch '{targetBranch}' in repository '{_gitHubOrg}/{_gitHubRepoName}'.");
87
_logger
.LogError($"No files found in the original tree for branch '{targetBranch}' in repository '{_gitHubOrg}/{_gitHubRepoName}'.");
406
_logger
.LogWarning($"Failed to merge the target branch into the existing pull request: {e.Message}");
407
_logger
.LogWarning("Continuing with updating the existing pull request. You may need to resolve conflicts manually in the PR.");
458
_logger
.LogMessage(MessageImportance.High, "No changes to commit. Skipping PR creation/updates.");
474
_logger
.LogMessage(MessageImportance.High, $"Updated existing pull request #{pullRequest.Number}. URL: {pullRequest.HtmlUrl}");
487
_logger
.LogMessage(MessageImportance.High, $"Created pull request #{pullRequest.Number}. URL: {pullRequest.HtmlUrl}");
522
_logger
.LogWarning($"Rate limit exceeded. Retrying after {delay.TotalSeconds} seconds...");
531
_logger
.LogWarning($"Attempt {attempt} failed: {ex.Message}. Retrying in {delayMilliseconds}ms...");