public static function buildLogger(ContainerInterface $container)
    {
        $factory = new MonologFactory(
            $container->getParameter('kernel.log_dir'),
            $container->getParameter('kernel.env')
        );

        return($factory->getServiceClass());
    }
public static function buildLogger(ContainerInterface $container)
    {
        $factory = new MonologFactory(
            $container->getParameter('kernel.log_dir'),
            $container->getParameter('kernel.env')
        );

        return($factory->getServiceClass());
    }
public static function buildLogger ( ContainerInterface $ container ) { $ factory = new MonologFactory ( $ container -> getParameter ( 'kernel.log_dir' ) , $ container -> getParameter ( 'kernel.env' ) ) ; return ( $ factory -> getServiceClass ( ) ) ; }
buildLogger
Build the logger service

@return Monolog\Logger $logger
buildLogger Build the logger service