invokeAsyncAndLog
Invokes a function and logs the start, end, and duration of the invocation.
Import:
import { invokeAsyncAndLog } from '@mnaoumov/obsidian-lib/logger';Signature:
function invokeAsyncAndLog(params: InvokeAsyncAndLogParams): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
params |
InvokeAsyncAndLogParams | The parameters for the invocation. |
Links to this page: