RelationalConnectionDependencies.ConnectionLogger Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The logger to which connection messages will be written.
public Microsoft.EntityFrameworkCore.Diagnostics.IRelationalConnectionDiagnosticsLogger ConnectionLogger { get; init; }
public Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Connection> ConnectionLogger { get; }
member this.ConnectionLogger : Microsoft.EntityFrameworkCore.Diagnostics.IRelationalConnectionDiagnosticsLogger with get, set
member this.ConnectionLogger : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Connection>
Public Property ConnectionLogger As IRelationalConnectionDiagnosticsLogger
Public ReadOnly Property ConnectionLogger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Connection)