2 writes to Timestamp
Aspire.Hosting (2)
src\Shared\ConsoleLogs\LogEntry.cs (2)
79
Timestamp
= startTimestamp,
101
Timestamp
= timestamp,
16 references to Timestamp
Aspire.Hosting (16)
ApplicationModel\ResourceLoggerService.cs (2)
857
if (entry.
Timestamp
!= null)
859
content = entry.
Timestamp
.Value.ToString(KnownFormats.ConsoleLogsTimestampFormat, CultureInfo.InvariantCulture) + " " + content;
Dcp\DcpResourceWatcher.cs (3)
731
if (logEntry.
Timestamp
is { } timestamp &&
800
logEntries.Any(entry => entry.
Timestamp
is null || entry.
Timestamp
> pendingDeduplication.LatestTimestamp.Value))
src\Shared\ConsoleLogs\LogEntries.cs (10)
62
if (logEntry.
Timestamp
is null)
69
if (pauseVM.ResourcePrefix == logEntry.ResourcePrefix && pauseVM.Contains(logEntry.
Timestamp
.Value))
85
Debug.Assert(logLine.
Timestamp
== null || logLine.
Timestamp
.Value.Kind == DateTimeKind.Utc, "Timestamp should always be UTC.");
100
if (entry.
Timestamp
is { } timestamp && entry.Type is not LogEntryType.Pause)
117
if (logEntry.
Timestamp
== null)
131
if (current.
Timestamp
== null)
142
if (logEntry.
Timestamp
.Value >= current.
Timestamp
.Value)
220
if (_earliestTimestampIndex == null && logEntry.
Timestamp
!= null)
src\Shared\ConsoleLogs\LogEntry.cs (1)
125
return new(logEntry.
Timestamp
, logEntry.Content, logEntry.RawContent, logEntry.Type);