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