1 write to Id
Microsoft.Extensions.Logging.Abstractions (1)
55 references to Id
Microsoft.AspNetCore.Components.WebAssembly (1)
Microsoft.DotNet.Cli.Telemetry (2)
Microsoft.DotNet.HotReload.Watch (2)
Microsoft.Extensions.Caching.Hybrid.Tests (3)
Microsoft.Extensions.Diagnostics.Testing.Tests (4)
Microsoft.Extensions.Logging.Abstractions (4)
Microsoft.Extensions.Logging.Console (6)
JsonConsoleFormatter.cs (2)
33WriteInternal(null, textWriter, message, bufferedRecord.LogLevel, logEntry.Category, bufferedRecord.EventId.Id, bufferedRecord.Exception,
50WriteInternal(scopeProvider, textWriter, message, logEntry.LogLevel, logEntry.Category, logEntry.EventId.Id, logEntry.Exception?.ToString(),
SimpleConsoleFormatter.cs (2)
52WriteInternal(null, textWriter, message, bufferedRecord.LogLevel, bufferedRecord.EventId.Id, bufferedRecord.Exception, logEntry.Category, bufferedRecord.Timestamp);
64WriteInternal(scopeProvider, textWriter, message, logEntry.LogLevel, logEntry.EventId.Id, logEntry.Exception?.ToString(), logEntry.Category, GetCurrentDateTime());
SystemdConsoleFormatter.cs (2)
42WriteInternal(null, textWriter, message, bufferedRecord.LogLevel, logEntry.Category, bufferedRecord.EventId.Id, bufferedRecord.Exception, bufferedRecord.Timestamp);
54WriteInternal(scopeProvider, textWriter, message, logEntry.LogLevel, logEntry.Category, logEntry.EventId.Id, logEntry.Exception?.ToString(), GetCurrentDateTime());
Microsoft.Extensions.Logging.EventLog (2)
Microsoft.Extensions.Logging.EventSource (3)
Microsoft.Extensions.Logging.TraceSource (1)
Microsoft.Gen.Logging.Generated.Tests (27)
LogMethodTests.cs (17)
276Assert.Equal(0, collector.LatestRecord.Id.Id);
284Assert.NotEqual(0, collector.LatestRecord.Id.Id);
292Assert.NotEqual(0, collector.LatestRecord.Id.Id);
300Assert.NotEqual(0, collector.LatestRecord.Id.Id);
308Assert.NotEqual(0, collector.LatestRecord.Id.Id);
316Assert.NotEqual(0, collector.LatestRecord.Id.Id);
324Assert.NotEqual(0, collector.LatestRecord.Id.Id);
335Assert.NotEqual(0, logRecord.Id.Id);
346Assert.Equal(42, logRecord.Id.Id);
389Assert.NotEqual(0, collector.LatestRecord.Id.Id);
397Assert.NotEqual(0, collector.LatestRecord.Id.Id);
628Assert.NotEqual(0, logRecord.Id.Id);
643Assert.NotEqual(0, firstEventId.Id);
651Assert.Equal(firstEventId.Id, secondEventId.Id); // Same EventName means same generated EventId
659Assert.NotEqual(thirdEventId.Id, secondEventId.Id); // Different EventName means different generated EventId