node: console.timeLog (#29600)

This commit is contained in:
Piotr Roszatycki
2018-10-10 09:28:07 -07:00
committed by Andy
parent af61ae4b09
commit 1dcb4dba95
+4
View File
@@ -108,6 +108,10 @@ interface Console {
* Stops a timer that was previously started by calling {@link console.time()} and prints the result to `stdout`.
*/
timeEnd(label?: string): void;
/**
* For a timer that was previously started by calling {@link console.time()}, prints the elapsed time and other `data` arguments to `stdout`.
*/
timeLog(label: string, ...data: any[]): void;
/**
* Prints to `stderr` the string 'Trace :', followed by the {@link util.format()} formatted message and stack trace to the current position in the code.
*/