IRelationalConnectionDiagnosticsLogger.ShouldLogConnectionOpen 方法

定义

是否需要 ConnectionOpening 记录或 ConnectionOpened 是否需要记录。

public bool ShouldLogConnectionOpen (DateTimeOffset now);
abstract member ShouldLogConnectionOpen : DateTimeOffset -> bool
Public Function ShouldLogConnectionOpen (now As DateTimeOffset) As Boolean

参数

返回

适用于