Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 584 Bytes

StopwatchLogDebugAsync.md

File metadata and controls

19 lines (12 loc) · 584 Bytes

IPublicAPI.StopwatchLogDebugAsync method

Log debug message of the time taken to execute a method asynchronously Message will only be logged in Debug mode

public Task<long> StopwatchLogDebugAsync(string className, string message, Func<Task> action, 
    [CallerMemberName] string methodName = "")

Return Value

The time taken to execute the method in milliseconds

See Also