Logging with Entity Framework Core

Learn the basics of logging using simple logging in E F Core.

Simple logging

In EF Core, logging enables us to obtain information about the SQL queries we execute. For instance, logging can diagnose a slow query or a query failing to return the desired results.

Simple logging is a form of logging in EF Core that requires minimal configuration and no additional NuGet packages. It provides an easy means to obtain logs while developing applications. We’ll demonstrate using the C# project below:

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy