protected function getLogger()
    {
        if ($this->logger) {
            return $this->logger;
        }

        // Set logger for this job
        $this->logger = $this
            ->getLoggerFactory()
            ->getQueuedJobLogger($this);
        return $this->logger;
    }
protected function getLogger()
    {
        if ($this->logger) {
            return $this->logger;
        }

        // Set logger for this job
        $this->logger = $this
            ->getLoggerFactory()
            ->getQueuedJobLogger($this);
        return $this->logger;
    }
protected function getLogger ( ) { if ( $ this -> logger ) { return $ this -> logger ; } // Set logger for this job $ this -> logger = $ this -> getLoggerFactory ( ) -> getQueuedJobLogger ( $ this ) ; return $ this -> logger ; }
Gets a logger for this job

@return LoggerInterface
Gets a logger for this job