QueryContextDependencies.QueryLogger 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
查詢記錄器。
public Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> QueryLogger { get; }
public Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> QueryLogger { get; init; }
member this.QueryLogger : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query>
member this.QueryLogger : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> with get, set
Public ReadOnly Property QueryLogger As IDiagnosticsLogger(Of DbLoggerCategory.Query)
Public Property QueryLogger As IDiagnosticsLogger(Of DbLoggerCategory.Query)