diff --git a/entity-framework/core/logging-events-diagnostics/extensions-logging.md b/entity-framework/core/logging-events-diagnostics/extensions-logging.md index b3dd77eceb..c38aafa18b 100644 --- a/entity-framework/core/logging-events-diagnostics/extensions-logging.md +++ b/entity-framework/core/logging-events-diagnostics/extensions-logging.md @@ -14,11 +14,11 @@ Entity Framework Core (EF Core) fully integrates with `Microsoft.Extensions.Logg ## ASP.NET Core applications -`Microsoft.Extensions.Logging` is [used by default in ASP.NET Core applications](/aspnet/core/fundamentals/logging). Calling or . +`Microsoft.Extensions.Logging` is [used by default in ASP.NET Core applications](/aspnet/core/fundamentals/logging). Calling or makes EF Core automatically use the logging setup configured via the regular ASP.NET mechanism. ## Other application types -Other application types can use the [GenericHost](/dotnet/core/extensions/generic-host) to get the same dependency injection patterns as are used in ASP.NET Core. AddDbContext or AddDbContextPool can then be used just like in ASP.NET Core applications. +Other application types can use the [GenericHost](/dotnet/core/extensions/generic-host) to get the same dependency injection patterns as are used in ASP.NET Core. or can then be used just like in ASP.NET Core applications. `Microsoft.Extensions.Logging` can also be used for applications that don't use dependency injection, although [simple logging](xref:core/logging-events-diagnostics/simple-logging) can be easier to set up.