Logger/Handler/HandlerFactoryRegistry.php
public function createHandlers(JobInterface $job, $level, $bubble)
    {
        $handlers = [];
        foreach ($this->factories as $factory) {
            $handlers[] = $factory->createHandler($job, $level, $bubble);
        }

        return $handlers;
    }
public function createHandlers(JobInterface $job, $level, $bubble)
    {
        $handlers = [];
        foreach ($this->factories as $factory) {
            $handlers[] = $factory->createHandler($job, $level, $bubble);
        }

        return $handlers;
    }
Returns the handlers created by all registered factories.

@param JobInterface $job
@param int          $level The minimum logging level at which this handler will be triggered
@param boolean      $bubble
@return array|HandlerInterface[] The created handlers