27 references to Logger
dotnet-watch (27)
DefaultHotReloadClient.cs (19)
43
Logger
.LogDebug("Disposing agent communication pipe");
73
Logger
.LogDebug("Waiting for application to connect to pipe {NamedPipeName}.", _namedPipeName);
80
Logger
.Log(LogEvents.Capabilities, capabilities);
104
Logger
.LogError("Failed to read {ResponseType} from the pipe: {Message}", responseType, e.Message);
131
Logger
.LogError("Unexpected response received from the agent: {ResponseType}", type);
173
=>
Logger
.IsEnabled(LogLevel.Debug) ? ResponseLoggingLevel.Verbose : ResponseLoggingLevel.WarningsAndErrors;
181
Logger
.LogDebug("Previous changes failed to apply. Further changes are not applied to this process.");
188
Logger
.LogDebug("No updates applicable to this process");
207
Logger
.LogWarning("Further changes won't be applied to this process.");
217
Logger
.Log(LogEvents.UpdatesApplied, applicableUpdates.Count, updates.Length);
254
Logger
.LogDebug("Sending static file update request for asset '{Url}'.", update.RelativePath);
263
Logger
.Log(LogEvents.UpdatesApplied, appliedUpdateCount, updates.Length);
284
Logger
.LogDebug("Sending update batch #{UpdateId}", batchId);
292
Logger
.LogDebug("Update batch #{UpdateId} completed.", batchId);
296
Logger
.LogDebug("Update batch #{UpdateId} failed.", batchId);
304
Logger
.LogDebug("Update batch #{UpdateId} canceled.", batchId);
308
Logger
.LogError("Update batch #{UpdateId} failed with error: {Message}", batchId, e.Message);
309
Logger
.LogDebug("Update batch #{UpdateId} exception stack trace: {StackTrace}", batchId, e.StackTrace);
367
Logger
.LogError("Failed to send {RequestType}: {Message}", nameof(RequestType.InitialUpdatesCompleted), e.Message);
HotReloadClients.cs (4)
66
=> clients.First().client.
Logger
;
149
client.
Logger
.LogWarning("Some changes not applied to {Name} because they are not supported by the runtime.", name);
153
client.
Logger
.LogWarning("No changes applied to {Name} because they are not supported by the runtime.", name);
165
var logger = clients[0].client.
Logger
;
WebAssemblyHotReloadClient.cs (4)
112
var loggingLevel =
Logger
.IsEnabled(LogLevel.Debug) ? ResponseLoggingLevel.Verbose : ResponseLoggingLevel.WarningsAndErrors;
130
Logger
.LogDebug("Sending update batch #{UpdateId}", batchId);
147
Logger
.LogDebug("Update batch #{UpdateId} completed.", batchId);
152
Logger
.LogDebug("Update batch #{UpdateId} failed.", batchId);