26 references to Logger
dotnet-watch (26)
DefaultHotReloadClient.cs (18)
38
Logger
.LogDebug("Disposing agent communication pipe");
65
Logger
.LogDebug("Waiting for application to connect to pipe {NamedPipeName}.", _namedPipeName);
72
Logger
.Log(LogEvents.Capabilities, capabilities);
85
Logger
.LogError("Failed to read capabilities: {Message}", e.Message);
125
=>
Logger
.IsEnabled(LogLevel.Debug) ? ResponseLoggingLevel.Verbose : ResponseLoggingLevel.WarningsAndErrors;
133
Logger
.LogDebug("Previous changes failed to apply. Further changes are not applied to this process.");
140
Logger
.LogDebug("No updates applicable to this process");
155
Logger
.LogWarning("Further changes won't be applied to this process.");
163
Logger
.Log(LogEvents.UpdatesApplied, applicableUpdates.Count, updates.Length);
200
Logger
.LogDebug("Sending static file update request for asset '{Url}'.", update.RelativePath);
209
Logger
.Log(LogEvents.UpdatesApplied, appliedUpdateCount, updates.Length);
230
Logger
.LogDebug("Sending update batch #{UpdateId}", batchId);
238
Logger
.LogDebug("Update batch #{UpdateId} completed.", batchId);
242
Logger
.LogDebug("Update batch #{UpdateId} failed.", batchId);
248
Logger
.LogDebug("Update batch #{UpdateId} canceled.", batchId);
252
Logger
.LogError("Update batch #{UpdateId} failed with error: {Message}", batchId, e.Message);
253
Logger
.LogDebug("Update batch #{UpdateId} exception stack trace: {StackTrace}", batchId, e.StackTrace);
302
Logger
.LogError("Failed to send InitialUpdatesCompleted: {Message}", e.Message);
HotReload\HotReloadClients.cs (4)
33
=> clients.First().client.
Logger
;
111
client.
Logger
.LogWarning("Some changes not applied to {Name} because they are not supported by the runtime.", name);
115
client.
Logger
.LogWarning("No changes applied to {Name} because they are not supported by the runtime.", name);
124
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);