modules/core/src/utils/old-log.js
function time(priority, label) {
  assert(Number.isFinite(priority), 'log priority must be a number');
  if (priority <= log.priority) {
    // In case the platform doesn't have console.time
    if (console.time) {
      console.time(label);
    } else {
      console.info(label);
    }
  }
}
function time(priority, label) {
  assert(Number.isFinite(priority), 'log priority must be a number');
  if (priority <= log.priority) {
    // In case the platform doesn't have console.time
    if (console.time) {
      console.time(label);
    } else {
      console.info(label);
    }
  }
}
function time ( priority , label ) { assert ( Number . isFinite ( priority ) , 'log priority must be a number' ) ; if ( priority <= log . priority ) { // In case the platform doesn't have console.time if ( console . time ) { console . time ( label ) ; } else { console . info ( label ) ; } } }
Logs a message with a time
Logs a message with a time