EF Core Logging
dotnet new console
dotnet add package Microsoft.EntityFrameworkCore.SqlServer
sqllocaldb create ef_core_logging
- Set up entities and DB context
dotnet add package Microsoft.Extensions.Logging.Console
To-Do
Update to include the alternative
In some other EF repos I use a different way to log, which I should show here as well.