public function getServiceClass()
    {
        $this->checkFilePermissions();
        $logger_name = 'MicroCMS_' . $this->env;
        $logger = new Logger($logger_name);
        $logger->pushHandler(
            new StreamHandler($this->logFile, $this->getHandlerLevel())
        );

        return($logger);
    }
public function getServiceClass()
    {
        $this->checkFilePermissions();
        $logger_name = 'MicroCMS_' . $this->env;
        $logger = new Logger($logger_name);
        $logger->pushHandler(
            new StreamHandler($this->logFile, $this->getHandlerLevel())
        );

        return($logger);
    }
public function getServiceClass ( ) { $ this -> checkFilePermissions ( ) ; $ logger_name = 'MicroCMS_' . $ this -> env ; $ logger = new Logger ( $ logger_name ) ; $ logger -> pushHandler ( new StreamHandler ( $ this -> logFile , $ this -> getHandlerLevel ( ) ) ) ; return ( $ logger ) ; }
getServiceClass
Build the Monolog logger for use in the container.

@return Monolog\Logger $logger
getServiceClass Build the Monolog logger for use in the container .