语言

IRelationalConnectionDiagnosticsLogger.ShouldLogConnectionCreate 方法

定义

是记录还是ConnectionCreatingConnectionCreated需要记录。

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

参数

返回

适用于