show start time in console logger

This commit is contained in:
Bruno Windels 2022-04-11 15:54:31 +02:00
parent 387bad73b0
commit e0efbaeb4e

View file

@ -45,7 +45,7 @@ function filterValues(values: LogItemValues): LogItemValues | null {
}
function printToConsole(item: LogItem): void {
const label = `${itemCaption(item)} (${item.duration}ms)`;
const label = `${itemCaption(item)} (@${item.start}ms, duration: ${item.duration}ms)`;
const filteredValues = filterValues(item.values);
const shouldGroup = item.children || filteredValues;
if (shouldGroup) {