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