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