3 writes to LogLevel
aspire (2)
BackchannelJsonSerializerContext.BackchannelLogEntry.g.cs (2)
32ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Backchannel.BackchannelLogEntry(){ EventId = (global::Microsoft.Extensions.Logging.EventId)args[0], LogLevel = (global::Microsoft.Extensions.Logging.LogLevel)args[1], Message = (string)args[2], Timestamp = (global::System.DateTimeOffset)args[3], CategoryName = (string)args[4] }, 80Setter = static (obj, value) => ((global::Aspire.Cli.Backchannel.BackchannelLogEntry)obj).LogLevel = value!,
Aspire.Cli.Tests (1)
Commands\RunCommandTests.cs (1)
196LogLevel = LogLevel.Information,
5 references to LogLevel
aspire (5)
BackchannelJsonSerializerContext.BackchannelLogEntry.g.cs (2)
79Getter = static obj => ((global::Aspire.Cli.Backchannel.BackchannelLogEntry)obj).LogLevel, 178global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Aspire.Cli.Backchannel.BackchannelLogEntry)value).LogLevel, LogLevel);
Commands\RunCommand.cs (3)
437if (entry.LogLevel is not LogLevel.Trace and not LogLevel.Debug) 440extensionInteractionService.WriteDebugSessionMessage(entry.Message, entry.LogLevel is not LogLevel.Error and not LogLevel.Critical, "\x1b[2m"); 444await streamWriter.WriteLineAsync($"{entry.Timestamp:HH:mm:ss} [{entry.LogLevel}] {entry.CategoryName}: {entry.Message}");