1 write to Message
Aspire.Dashboard (1)
Otlp\Model\OtlpLogEntry.cs (1)
55Message = record.Body is { } body
23 references to Message
Aspire.Dashboard (4)
Model\Otlp\TelemetryFilter.cs (2)
118case nameof(OtlpLogEntry.Message): 121return input.Where(x => func(x.Message, Value));
Model\StructuredLogsViewModel.cs (1)
85filters.Add(new TelemetryFilter { Field = nameof(OtlpLogEntry.Message), Condition = FilterCondition.Contains, Value = FilterText });
Otlp\Model\OtlpLogEntry.cs (1)
99KnownStructuredLogFields.MessageField => log.Message,
Aspire.Dashboard.Tests (19)
TelemetryRepositoryTests\LogTests.cs (19)
79Assert.Equal("Test Value!", app.Message); 131Assert.Equal("", app.Message); 183Assert.Equal("1", l.Message); 186l => Assert.Equal("2", l.Message), 187l => Assert.Equal("3", l.Message), 188l => Assert.Equal("4", l.Message), 189l => Assert.Equal("5", l.Message), 190l => Assert.Equal("6", l.Message), 191l => Assert.Equal("7", l.Message), 192l => Assert.Equal("8", l.Message), 193l => Assert.Equal("9", l.Message), 194l => Assert.Equal("10", l.Message)); 672Assert.Equal("0123456789012345", app.Message); 814Filters = [new TelemetryFilter { Condition = FilterCondition.Contains, Field = nameof(OtlpLogEntry.Message), Value = "does_not_contain" }] 822Filters = [new TelemetryFilter { Condition = FilterCondition.Contains, Field = nameof(OtlpLogEntry.Message), Value = "message" }] 891Assert.Equal("Test Value!", app.Message); 914Assert.Equal("Test Value!", app.Message); 987Assert.Equal("message-1", app.Message); 998Assert.Equal("message-2", app.Message);