3 writes to LogRecords
Aspire.Dashboard (2)
Model\TelemetryExportService.cs (1)
212LogRecords = scopeGroup.Select(ConvertLogEntry).ToArray()
OtlpJsonSerializerContext.OtlpScopeLogsJson.g.cs (1)
79Setter = static (obj, value) => ((global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpScopeLogsJson)obj).LogRecords = value!,
Aspire.Dashboard.Tests (1)
Model\TelemetryImportServiceTests.cs (1)
424LogRecords =
13 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 (9)
Model\TelemetryExportServiceTests.cs (9)
75Assert.NotNull(scopeLogs.LogRecords); 76Assert.Single(scopeLogs.LogRecords); 78var logRecord = scopeLogs.LogRecords[0]; 144Assert.NotNull(logger1Scope.LogRecords); 145Assert.Equal(2, logger1Scope.LogRecords.Length); 149Assert.NotNull(logger2Scope.LogRecords); 150Assert.Single(logger2Scope.LogRecords); 213var logRecord = result.ResourceLogs![0].ScopeLogs![0].LogRecords![0]; 501var logRecord = logsData?.ResourceLogs?.FirstOrDefault()?.ScopeLogs?.FirstOrDefault()?.LogRecords?.FirstOrDefault();