QueryCompilationContextDependencies.Logger 属性

定义

记录器。

public Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> Logger { get; }
public Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> Logger { get; init; }
member this.Logger : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query>
member this.Logger : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> with get, set
Public ReadOnly Property Logger As IDiagnosticsLogger(Of DbLoggerCategory.Query)
Public Property Logger As IDiagnosticsLogger(Of DbLoggerCategory.Query)

属性值

适用于