Model/LogManager.php
public function findByJob(BaseJobInterface $job)
    {
        $records = array();
        foreach ($this->findBy(['jobTicket' => $job->getTicket()], ['datetime' => 'ASC']) as $log) {
            /**
             * @var LogInterface $log
             */
            $records[] = $log->toRecord();
        }

        return $records;
    }
public function findByJob(BaseJobInterface $job)
    {
        $records = array();
        foreach ($this->findBy(['jobTicket' => $job->getTicket()], ['datetime' => 'ASC']) as $log) {
            /**
             * @var LogInterface $log
             */
            $records[] = $log->toRecord();
        }

        return $records;
    }
{@inheritdoc}