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