TestSqlLogger
TestSqlLogger(Boolean)
Parameters
SqlStatements
UnsafeClear()
UnsafeLog<TState>(LogLevel, EventId, String, TState, Exception)
net10.0
namespace Microsoft.EntityFrameworkCore.TestUtilities
{
public class TestSqlLoggerFactory : ListLoggerFactory
{
protected class TestSqlLogger : ListLogger
{
protected override void UnsafeLog<TState>(LogLevel logLevel, EventId eventId, string? message, TState state, Exception? exception);
}
}
}
| .NET | 10.0 |
|---|---|
Information specific to net10.0 | |
| Assembly | Microsoft.EntityFrameworkCore.Relational.Specification.Tests , Version=10.0.1.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.EntityFrameworkCore.Relational.Specification.Tests (10.0.1) net10.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API