27 references to AgentMessageSeverity
Microsoft.AspNetCore.Components.WebAssembly (27)
.packages\microsoft.dotnet.hotreload.agent\10.0.100-preview.5.25258.39\contentFiles\cs\netstandard2.1\AgentReporter.cs (4)
11
private readonly List<(string message,
AgentMessageSeverity
severity)> _log = [];
13
public void Report(string message,
AgentMessageSeverity
severity)
18
public IReadOnlyCollection<(string message,
AgentMessageSeverity
severity)> GetAndClearLogEntries(ResponseLoggingLevel level)
23
? _log.Where(static entry => entry.severity !=
AgentMessageSeverity
.Verbose)
.packages\microsoft.dotnet.hotreload.agent\10.0.100-preview.5.25258.39\contentFiles\cs\netstandard2.1\HotReloadAgent.cs (10)
55
Reporter.Report($"Type not found: {MetadataUpdaterTypeName}",
AgentMessageSeverity
.Error);
62
Reporter.Report($"{MetadataUpdaterTypeName}.{ApplyUpdateMethodName} not found.",
AgentMessageSeverity
.Error);
71
Reporter.Report($"{MetadataUpdaterTypeName}.{GetCapabilitiesMethodName} not found.",
AgentMessageSeverity
.Error);
81
Reporter.Report($"Error retrieving capabilities: {e.Message}",
AgentMessageSeverity
.Error);
105
public IReadOnlyCollection<(string message,
AgentMessageSeverity
severity)> GetAndClearLogEntries(ResponseLoggingLevel loggingLevel)
115
Reporter.Report($"Applying delta to module {delta.ModuleId}.",
AgentMessageSeverity
.Verbose);
132
Reporter.Report("Deltas applied.",
AgentMessageSeverity
.Verbose);
161
Reporter.Report($"Failed to load type 0x{updatedType:X8}: {e.Message}",
AgentMessageSeverity
.Warning);
180
Reporter.Report("Deltas applied.",
AgentMessageSeverity
.Verbose);
184
Reporter.Report(ex.ToString(),
AgentMessageSeverity
.Warning);
.packages\microsoft.dotnet.hotreload.agent\10.0.100-preview.5.25258.39\contentFiles\cs\netstandard2.1\MetadataUpdateHandlerInvoker.cs (10)
32
=> reporter.Report(GetHandlerDisplayString(Method),
AgentMessageSeverity
.Verbose);
117
reporter.Report("Invoking metadata update handlers.",
AgentMessageSeverity
.Verbose);
123
reporter.Report(e.ToString(),
AgentMessageSeverity
.Warning);
134
reporter.Report("Invoking content update handlers.",
AgentMessageSeverity
.Verbose);
140
reporter.Report(e.ToString(),
AgentMessageSeverity
.Warning);
168
reporter.Report($"'{attr}' found with invalid arguments.",
AgentMessageSeverity
.Warning);
215
AgentMessageSeverity
.Warning);
254
=> reporter.Report($"Exception from '{GetHandlerDisplayString(method)}': {e}",
AgentMessageSeverity
.Warning);
286
reporter.Report($"Type '{handlerType}' has method '{method}' that does not match the required signature.",
AgentMessageSeverity
.Warning);
309
reporter.Report($"'{assembly.FullName}' is not loaded ({e.Message})",
AgentMessageSeverity
.Verbose);
HotReload\WebAssemblyHotReload.cs (3)
102
s_reporter.Report($"No previous updates to apply.",
AgentMessageSeverity
.Verbose);
109
s_reporter.Report($"Reapplying update {i}/{updates.Length}.",
AgentMessageSeverity
.Verbose);
127
s_reporter.Report($"Failed to retrieve and apply previous deltas from the server: ${errorMessage}",
AgentMessageSeverity
.Error);