1 write to Id
Microsoft.Extensions.Logging.Abstractions (1)
104 references to Id
InMemory.FunctionalTests (20)
Microsoft.AspNetCore.Authorization.Test (2)
Microsoft.AspNetCore.Components.WebAssembly (1)
Microsoft.AspNetCore.Hosting.Tests (2)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (4)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (4)
Microsoft.Extensions.Caching.Hybrid.Tests (2)
Microsoft.Extensions.Diagnostics.Testing.Tests (3)
Microsoft.Extensions.Logging.Abstractions (4)
Microsoft.Extensions.Logging.Console (6)
JsonConsoleFormatter.cs (2)
34WriteInternal(null, textWriter, message, bufferedRecord.LogLevel, logEntry.Category, bufferedRecord.EventId.Id, bufferedRecord.Exception,
51WriteInternal(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)
227Assert.Equal(0, collector.LatestRecord.Id.Id);
235Assert.NotEqual(0, collector.LatestRecord.Id.Id);
243Assert.NotEqual(0, collector.LatestRecord.Id.Id);
251Assert.NotEqual(0, collector.LatestRecord.Id.Id);
259Assert.NotEqual(0, collector.LatestRecord.Id.Id);
267Assert.NotEqual(0, collector.LatestRecord.Id.Id);
275Assert.NotEqual(0, collector.LatestRecord.Id.Id);
286Assert.NotEqual(0, logRecord.Id.Id);
297Assert.Equal(42, logRecord.Id.Id);
340Assert.NotEqual(0, collector.LatestRecord.Id.Id);
348Assert.NotEqual(0, collector.LatestRecord.Id.Id);
579Assert.NotEqual(0, logRecord.Id.Id);
594Assert.NotEqual(0, firstEventId.Id);
602Assert.Equal(firstEventId.Id, secondEventId.Id); // Same EventName means same generated EventId
610Assert.NotEqual(thirdEventId.Id, secondEventId.Id); // Different EventName means different generated EventId
Sockets.BindTests (4)
Sockets.FunctionalTests (15)