QueryContext.CommandLogger Property

Definition

The command logger to use while executing the query.

C#
public virtual Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> CommandLogger { get; }

Property Value

The cancellation token.

Applies to

Product Versions
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0