2 writes to LogRecords
Aspire.Dashboard (2)
Model\TelemetryExportService.cs (1)
175
LogRecords
= scopeGroup.Select(ConvertLogEntry).ToArray()
OtlpJsonSerializerContext.OtlpScopeLogsJson.g.cs (1)
79
Setter = static (obj, value) => ((global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpScopeLogsJson)obj).
LogRecords
= value!,
12 references to LogRecords
Aspire.Dashboard (4)
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
275
if (json.
LogRecords
is not null)
277
foreach (var lr in json.
LogRecords
)
OtlpJsonSerializerContext.OtlpScopeLogsJson.g.cs (2)
78
Getter = static obj => ((global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpScopeLogsJson)obj).
LogRecords
,
132
global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpLogRecordJson[] __value_LogRecords = ((global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpScopeLogsJson)value).
LogRecords
;
Aspire.Dashboard.Tests (8)
Model\TelemetryExportServiceTests.cs (8)
71
Assert.NotNull(scopeLogs.
LogRecords
);
72
Assert.Single(scopeLogs.
LogRecords
);
74
var logRecord = scopeLogs.
LogRecords
[0];
140
Assert.NotNull(logger1Scope.
LogRecords
);
141
Assert.Equal(2, logger1Scope.
LogRecords
.Length);
145
Assert.NotNull(logger2Scope.
LogRecords
);
146
Assert.Single(logger2Scope.
LogRecords
);
209
var logRecord = result.ResourceLogs![0].ScopeLogs![0].
LogRecords
![0];