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