IRelationalCommandDiagnosticsLogger.ShouldLogCommandCreate 方法

定义

是否需要 CommandCreating 记录或 CommandCreated 是否需要记录。

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

参数

返回

适用于