Skip to main content
All docs
V23.2

DashboardTelemetry.Log<T>(String, Func<T>) Method

Collects actions for each event of an event session.

Namespace: DevExpress.DashboardCommon.Diagnostics

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public static T Log<T>(
    string functionName,
    Func<T> function
)

Parameters

Name Type Description
functionName String

The benchmark name.

function Func<T>

The delegate that encapsulates a method to execute. The method should return a value of the specified type.

Type Parameters

Name Description
T

The type of the return value.

Returns

Type Description
T

The value of the specified type.

See Also