2 writes to Timestamp
aspire (2)
Commands\LogsCommand.cs (2)
229Timestamp = timestamps && entry.Timestamp.HasValue ? FormatTimestamp(entry.Timestamp.Value) : null, 330Timestamp = timestamps && entry.Timestamp.HasValue ? FormatTimestamp(entry.Timestamp.Value) : null,
6 references to Timestamp
Aspire.Cli.Tests (6)
Commands\LogsCommandTests.cs (6)
472Assert.Equal("2025-01-15T10:30:00.000Z", logsOutput.Logs[0].Timestamp); 477Assert.Equal("2025-01-15T10:30:01.000Z", logsOutput.Logs[1].Timestamp); 482Assert.Equal("2025-01-15T10:30:02.000Z", logsOutput.Logs[2].Timestamp); 511Assert.Null(logsOutput.Logs[0].Timestamp); 516Assert.Null(logsOutput.Logs[1].Timestamp); 521Assert.Null(logsOutput.Logs[2].Timestamp);