net8.0
namespace Microsoft.Extensions.Logging.Testing
{
    public class FakeLogRecord
    {
        public FakeLogRecord(LogLevel level, EventId id, object? state, Exception? exception, string! message, IReadOnlyList<object?>! scopes, string? category, bool enabled, DateTimeOffset timestamp);
    }
}
.NET 6.07.08.09.0
.NET Framework 4.6.24.74.7.14.7.24.84.8.1
Information specific to net8.0
Assemblies

Microsoft.Extensions.Diagnostics.Testing , Version=9.1.0.0, PublicKeyToken=31bf3856ad364e35

Microsoft.Extensions.Telemetry.Testing , Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35

Microsoft.Extensions.Diagnostics.Testing , Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Requires any:

  • Your project needs a package reference to Microsoft.Extensions.Diagnostics.Testing.

  • Your project needs a package reference to Microsoft.Extensions.Telemetry.Testing.

Package Microsoft.Extensions.Diagnostics.Testing (9.1.0-preview.1.24562.4) net8.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API

11/13/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙