36 references to CreateLogRecord
Aspire.Dashboard.Tests (36)
Integration\OtlpHttpServiceTests.cs (1)
87scopeLogs.LogRecords.Add(TelemetryTestHelpers.CreateLogRecord(message: $"This is the test log message {i}. The quick brown fox jumped over the lazy dog. Peter Pipper picked a patch of pickled peppers."));
TelemetryRepositoryTests\LogTests.cs (35)
49LogRecords = { CreateLogRecord() } 112LogRecords = { CreateLogRecord(skipBody: true) } 154CreateLogRecord(time: s_testTime.AddMinutes(1), message: "1"), 155CreateLogRecord(time: s_testTime.AddMinutes(2), message: "2"), 156CreateLogRecord(time: s_testTime.AddMinutes(3), message: "3"), 157CreateLogRecord(time: s_testTime.AddMinutes(10), message: "10"), 158CreateLogRecord(time: s_testTime.AddMinutes(9), message: "9"), 159CreateLogRecord(time: s_testTime.AddMinutes(4), message: "4"), 160CreateLogRecord(time: s_testTime.AddMinutes(5), message: "5"), 161CreateLogRecord(time: s_testTime.AddMinutes(7), message: "7"), 162CreateLogRecord(time: s_testTime.AddMinutes(6), message: "6"), 163CreateLogRecord(time: s_testTime.AddMinutes(8), message: "8"), 217CreateLogRecord(time: s_testTime.AddMinutes(1), message: "1", severity: SeverityNumber.Trace), 218CreateLogRecord(time: s_testTime.AddMinutes(2), message: "2", severity: SeverityNumber.Debug), 219CreateLogRecord(time: s_testTime.AddMinutes(3), message: "3", severity: SeverityNumber.Info), 220CreateLogRecord(time: s_testTime.AddMinutes(4), message: "4", severity: SeverityNumber.Warn), 221CreateLogRecord(time: s_testTime.AddMinutes(5), message: "5", severity: SeverityNumber.Error), 222CreateLogRecord(time: s_testTime.AddMinutes(6), message: "6", severity: SeverityNumber.Fatal) 237CreateLogRecord(time: s_testTime.AddMinutes(1), message: "1", severity: SeverityNumber.Fatal) 293CreateLogRecord(time: s_testTime.AddMinutes(1), message: "1", severity: SeverityNumber.Error), 308CreateLogRecord(time: s_testTime.AddMinutes(1), message: "1", severity: SeverityNumber.Fatal) 345CreateLogRecord(time: s_testTime.AddMinutes(1), message: "1", severity: SeverityNumber.Error), 360CreateLogRecord(time: s_testTime.AddMinutes(1), message: "1", severity: SeverityNumber.Fatal) 398CreateLogRecord(time: s_testTime.AddMinutes(1), message: "1", severity: SeverityNumber.Error), 471LogRecords = { CreateLogRecord() } 508LogRecords = { CreateLogRecord() } 556LogRecords = { CreateLogRecord() } 600LogRecords = { CreateLogRecord() } 644LogRecords = { CreateLogRecord(message: GetValue(50), attributes: attributes) } 742LogRecords = { CreateLogRecord() } 764LogRecords = { CreateLogRecord() } 799CreateLogRecord(time: s_testTime.AddMinutes(1), message: "test_message", severity: SeverityNumber.Error), 844LogRecords = { CreateLogRecord() } 856LogRecords = { CreateLogRecord() } 967LogRecords = { CreateLogRecord(time: s_testTime.AddMinutes(3)) }