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