IRelationalConnectionDiagnosticsLogger.ShouldLogConnectionCreate Method
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.
Whether ConnectionCreating or ConnectionCreated need to be logged.
public bool ShouldLogConnectionCreate(DateTimeOffset now);
abstract member ShouldLogConnectionCreate : DateTimeOffset -> bool
Public Function ShouldLogConnectionCreate (now As DateTimeOffset) As Boolean
Parameters
- now
- DateTimeOffset