Logger/LoggerFactory.php
public function create(JobInterface $job)
    {
        $level = $this->registry->get($job->getType())->getLogLevel();
        if (false === $level) {
            return new NullLogger();
        } elseif (null === $level) {
            $level = $this->level;
        }

        $handlers = $this->handlerFactory->createHandlers($job, $level, $this->bubble);

        return new Logger($this->buildChannel($job), array_merge($handlers, $this->handlers));
    }
public function create(JobInterface $job)
    {
        $level = $this->registry->get($job->getType())->getLogLevel();
        if (false === $level) {
            return new NullLogger();
        } elseif (null === $level) {
            $level = $this->level;
        }

        $handlers = $this->handlerFactory->createHandlers($job, $level, $this->bubble);

        return new Logger($this->buildChannel($job), array_merge($handlers, $this->handlers));
    }
public function create ( JobInterface $ job ) { $ level = $ this -> registry -> get ( $ job -> getType ( ) ) -> getLogLevel ( ) ; if ( false === $ level ) { return new NullLogger ( ) ; } elseif ( null === $ level ) { $ level = $ this -> level ; } $ handlers = $ this -> handlerFactory -> createHandlers ( $ job , $ level , $ this -> bubble ) ; return new Logger ( $ this -> buildChannel ( $ job ) , array_merge ( $ handlers , $ this -> handlers ) ) ; }
{@inheritdoc}
{