2 writes to Body
Aspire.Dashboard (2)
Model\TelemetryExportService.cs (1)
198
Body
= new OtlpAnyValueJson { StringValue = log.Message },
OtlpJsonSerializerContext.OtlpLogRecordJson.g.cs (1)
139
Setter = static (obj, value) => ((global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpLogRecordJson)obj).
Body
= value!,
4 references to Body
Aspire.Dashboard (3)
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
308
if (json.
Body
is not null)
310
logRecord.Body = ToProtobuf(json.
Body
);
OtlpJsonSerializerContext.OtlpLogRecordJson.g.cs (1)
138
Getter = static obj => ((global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpLogRecordJson)obj).
Body
,
Aspire.Dashboard.Tests (1)
Model\TelemetryExportServiceTests.cs (1)
75
Assert.Equal("Test log message", logRecord.
Body
?.StringValue);