FakeLogger<T>
FakeLogger()
BeginScope<TState>(TState)
IsEnabled(LogLevel)
Log<TState>(LogLevel, EventId, TState, Exception, Func<TState, Exception, String>)
net10.0
namespace Microsoft.EntityFrameworkCore.TestUtilities
{
public class FakeLogger<T> : ILogger, ILogger<T>
{
public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter);
}
}
| .NET | 9.010.0 |
|---|---|
Information specific to net10.0 | |
| Assembly | Microsoft.EntityFrameworkCore.AspNet.Specification.Tests , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.EntityFrameworkCore.AspNet.Specification.Tests (9.0.0-preview.4.24210.1) net9.0 |
| Preview | This API is contained in a prerelease package. |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API