IRelationalConnectionDiagnosticsLogger.ShouldLogConnectionClose 方法

定义

是否需要 ConnectionClosing 记录 或 ConnectionClosed

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

参数

返回

适用于