2 writes to _log
Microsoft.DotNet.Deployment.Tasks.Links (2)
src\AkaMSLinksManager.cs (2)
47
_log
= log;
64
_log
= log;
18 references to _log
Microsoft.DotNet.Deployment.Tasks.Links (18)
src\AkaMSLinksManager.cs (18)
112
_log
.LogError($"Error deleting aka.ms/{link}: {response.Content.ReadAsStringAsync().Result}");
120
_log
.LogMessage(MessageImportance.High, $"Failed to delete aka.ms/{link}: {response.Content.ReadAsStringAsync().Result}");
131
_log
.LogMessage(MessageImportance.High, $"Failed to delete aka.ms/{link}: {e.Message}");
162
_log
.LogMessage(MessageImportance.High, $"Creating/Updating {links.Count()} aka.ms links.");
176
_log
.LogMessage(MessageImportance.High, $"Completed creating/updating {links.Count()} aka.ms links.");
211
_log
.LogError($"Error getting aka.ms/{link.ShortUrl}: {response.Content.ReadAsStringAsync().Result}");
226
_log
.LogMessage(MessageImportance.High, $"Failed to check aka.ms/{link.ShortUrl}: {response.Content.ReadAsStringAsync().Result}");
237
_log
.LogMessage(MessageImportance.High, $"Failed to check aka.ms/{link.ShortUrl}: {e.Message}");
265
_log
.LogMessage(MessageImportance.High, $"{(update ? "Updating" : "Creating")} batch of {links.Count()} aka.ms links.");
282
_log
.LogMessage(MessageImportance.High, $"Sending {(update ? "update" : "create")} request for batch of {links.Count()} aka.ms links.");
285
_log
.LogMessage(MessageImportance.High, $"Processing {(update ? "update" : "create")} response for batch of {links.Count()} aka.ms links.");
291
_log
.LogError($"Error creating/updating aka.ms links: {response.Content.ReadAsStringAsync().Result}");
305
_log
.LogMessage(MessageImportance.High, $"Failed to update aka.ms links: {response.StatusCode}\n" +
322
_log
.LogError($"Error creating/updating aka.ms links: {await response.Content.ReadAsStringAsync()}");
332
_log
.LogMessage(MessageImportance.High, $"Failed to create/update aka.ms links: {response.StatusCode}\n{await response.Content.ReadAsStringAsync()}");
344
_log
.LogMessage(MessageImportance.High, $"Failed to create/update aka.ms links: {e.Message}");
352
_log
.LogError("Failed to create/update aka.ms links");
356
_log
.LogMessage(MessageImportance.High, $"Completed aka.ms create/update for batch {links.Count()} links.");