26 references to AgentMessageSeverity
Microsoft.DotNet.HotReload.WebAssembly.Browser (26)
AgentReporter.cs (4)
13
private readonly List<(string message,
AgentMessageSeverity
severity)> _log = [];
15
public void Report(string message,
AgentMessageSeverity
severity)
20
public IReadOnlyCollection<(string message,
AgentMessageSeverity
severity)> GetAndClearLogEntries(ResponseLoggingLevel level)
25
? _log.Where(static entry => entry.severity !=
AgentMessageSeverity
.Verbose)
HotReloadAgent.cs (9)
65
Reporter.Report($"Type not found: {MetadataUpdaterTypeName}",
AgentMessageSeverity
.Error);
72
Reporter.Report($"{MetadataUpdaterTypeName}.{ApplyUpdateMethodName} not found.",
AgentMessageSeverity
.Error);
81
Reporter.Report($"{MetadataUpdaterTypeName}.{GetCapabilitiesMethodName} not found.",
AgentMessageSeverity
.Error);
91
Reporter.Report($"Error retrieving capabilities: {e.Message}",
AgentMessageSeverity
.Error);
136
Reporter.Report($"Applying updates to module {update.ModuleId}.",
AgentMessageSeverity
.Verbose);
153
Reporter.Report("Updates applied.",
AgentMessageSeverity
.Verbose);
182
Reporter.Report($"Failed to load type 0x{updatedType:X8}: {e.Message}",
AgentMessageSeverity
.Warning);
201
Reporter.Report("Updates applied.",
AgentMessageSeverity
.Verbose);
205
Reporter.Report(ex.ToString(),
AgentMessageSeverity
.Warning);
MetadataUpdateHandlerInvoker.cs (10)
34
=> reporter.Report(GetHandlerDisplayString(Method),
AgentMessageSeverity
.Verbose);
119
reporter.Report("Invoking metadata update handlers.",
AgentMessageSeverity
.Verbose);
125
reporter.Report(e.ToString(),
AgentMessageSeverity
.Warning);
136
reporter.Report("Invoking content update handlers.",
AgentMessageSeverity
.Verbose);
142
reporter.Report(e.ToString(),
AgentMessageSeverity
.Warning);
170
reporter.Report($"'{attr}' found with invalid arguments.",
AgentMessageSeverity
.Warning);
217
AgentMessageSeverity
.Warning);
256
=> reporter.Report($"Exception from '{GetHandlerDisplayString(method)}': {e}",
AgentMessageSeverity
.Warning);
288
reporter.Report($"Type '{handlerType}' has method '{method}' that does not match the required signature.",
AgentMessageSeverity
.Warning);
311
reporter.Report($"'{assembly.FullName}' is not loaded ({e.Message})",
AgentMessageSeverity
.Verbose);
WebAssemblyHotReload.cs (3)
104
agent.Reporter.Report($"No previous updates to apply.",
AgentMessageSeverity
.Verbose);
111
agent.Reporter.Report($"Reapplying update {i}/{updates.Length}.",
AgentMessageSeverity
.Verbose);
129
agent.Reporter.Report($"Failed to retrieve and apply previous deltas from the server: {errorMessage}",
AgentMessageSeverity
.Error);