Skip to main content
method Console.timeLog
Console.timeLog(
label?: string,
...data: any[],
): void

Logs the current value of a timer that was previously started

Examples

Example 1

console.time('process');
// ... some code
console.timeLog('process', 'Checkpoint A');

Parameters

optional
label: string

Timer label

<span>...data</span>: any[]

Return Type

void
Back to top