forked from mystiq/hydrogen-web
show start time in console logger
This commit is contained in:
parent
387bad73b0
commit
e0efbaeb4e
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue