1 instantiation of LogEntry
Aspire.Hosting (1)
ApplicationModel\ResourceLoggerService.cs (1)
374var logEntry = new LogEntry { Timestamp = timestamp, Content = logMessage, Type = isErrorMessage ? LogEntryType.Error : LogEntryType.Default };
13 references to LogEntry
Aspire.Hosting (13)
ApplicationModel\ResourceLoggerService.cs (9)
245var channel = Channel.CreateUnbounded<LogEntry>(); 250void Log(LogEntry log) => channel.Writer.TryWrite(log); 252LogEntry[] backlogSnapshot; 281static LogLine[] CreateLogLines(ref int lineNumber, IReadOnlyList<LogEntry> entries) 286var entry = entries[i]; 302private Action<LogEntry>? _onNewLog; 303private event Action<LogEntry> OnNewLog 364internal LogEntry[] GetBacklogSnapshot() 374var logEntry = new LogEntry { Timestamp = timestamp, Content = logMessage, Type = isErrorMessage ? LogEntryType.Error : LogEntryType.Default };
src\Shared\ConsoleLogs\LogEntries.cs (4)
12private readonly CircularBuffer<LogEntry> _logEntries = new(maximumEntryCount); 20public IList<LogEntry> GetEntries() => _logEntries; 30public void InsertSorted(LogEntry logLine) 61private void InsertSortedCore(LogEntry logEntry)