code: public function createHandlers(JobInterface $job, $level, $bubble)
      {
          $handlers = [];
          foreach ($this->factories as $factory) {
              $handlers[] = $factory->createHandler($job, $level, $bubble);
          }
  
          return $handlers;
      }
docs: 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