src/Loggers/WrapperHandlerFactory.php
/**
     * Creates a new formatter instance based on the passed configuration.
     *
     * @param \TechDivision\Import\Configuration\Logger\HandlerConfigurationInterface $handlerConfiguration The handler configuration
     *
     * @return \Monolog\Handler\HandlerInterface The handler instance
     */
Creates a new formatter instance based on the passed configuration.

@return \Monolog\Handler\HandlerInterface The handler instance
Creates a new formatter instance based on the passed configuration . @return \ Monolog \ Handler \ HandlerInterface The handler instance
public function factory(HandlerConfigurationInterface $handlerConfiguration)
    {
        $reflectionClass = new \ReflectionClass(HandlerWrapper::class);
        return $reflectionClass->newInstance($this->getHandlerFactory(), $handlerConfiguration);
    }
public function factory ( HandlerConfigurationInterface $ handlerConfiguration ) { $ reflectionClass = new \ ReflectionClass ( HandlerWrapper :: class ) ; return $ reflectionClass -> newInstance ( $ this -> getHandlerFactory ( ) , $ handlerConfiguration ) ; }
Creates a new formatter instance based on the passed configuration.
Creates a new formatter instance based on the passed configuration .
// create and return the wrapped handlerinstance