code: public function tick(Tick $tick)
      {
          $callback = ($tick->getStatus() == Tick::FAIL)
              ? [$this->logger, 'warning']
              : [$this->logger, 'info'];
  
          $msg = sprintf(
              "[%s/%s] %s",
              $tick->getReport()->getNumItemsProcessed(),
              $tick->getReport()->getTotalItemCount(),
              $tick->getMessage() ?: 'Tick'
          );
  
          call_user_func($callback, $msg, $tick->getReport()->toArray());
      }
docs: Tick callback
  
  @param Tick $tick