private static function _getLoggerLevel3($loggerParams) {
        if (!isset(self::$loggerLevel3)) {          
            /*create notifier object for africas talking. If you are behind a proxy, the
             *second parameter should be true, and your configuration array should contain
             *the proxy server settings
             */
            $notifierObj = new NotifierSmsAfricasTalkingService($loggerParams['notifier_params'], true);
            $recipientList = $loggerParams['notifier_recipients'];

            $CymapgtLevel3LogDir = $loggerParams['log_dir'];
            $CymapgtLevel3Stream = new StreamHandler($CymapgtLevel3LogDir, MonologLogger::ERROR);
            $CymapgtLevel3Logger = new MonologLogger('cymapgt_level3');
            $CymapgtLevel3Mailer  = new \Swift_Mailer($loggerParams['swiftmailer_transport']);
            $CymapgtLevel3Message = $loggerParams['swiftmailer_message'];        
            $CymapgtLevel3Logger->pushHandler($CymapgtLevel3Stream);
            $CymapgtLevel3Logger->pushHandler(new SwiftMailerHandler($CymapgtLevel3Mailer, $CymapgtLevel3Message));
            $smsHandler = new NotifierSmsAfricasTalkingServiceHandler($notifierObj);
            $smsHandler->setRecipients($recipientList);
            $CymapgtLevel3Logger->pushHandler($smsHandler);
            self::$loggerLevel3 = $CymapgtLevel3Logger;
        }
        return self::$loggerLevel3;
    }
private static function _getLoggerLevel3($loggerParams) {
        if (!isset(self::$loggerLevel3)) {          
            /*create notifier object for africas talking. If you are behind a proxy, the
             *second parameter should be true, and your configuration array should contain
             *the proxy server settings
             */
            $notifierObj = new NotifierSmsAfricasTalkingService($loggerParams['notifier_params'], true);
            $recipientList = $loggerParams['notifier_recipients'];

            $CymapgtLevel3LogDir = $loggerParams['log_dir'];
            $CymapgtLevel3Stream = new StreamHandler($CymapgtLevel3LogDir, MonologLogger::ERROR);
            $CymapgtLevel3Logger = new MonologLogger('cymapgt_level3');
            $CymapgtLevel3Mailer  = new \Swift_Mailer($loggerParams['swiftmailer_transport']);
            $CymapgtLevel3Message = $loggerParams['swiftmailer_message'];        
            $CymapgtLevel3Logger->pushHandler($CymapgtLevel3Stream);
            $CymapgtLevel3Logger->pushHandler(new SwiftMailerHandler($CymapgtLevel3Mailer, $CymapgtLevel3Message));
            $smsHandler = new NotifierSmsAfricasTalkingServiceHandler($notifierObj);
            $smsHandler->setRecipients($recipientList);
            $CymapgtLevel3Logger->pushHandler($smsHandler);
            self::$loggerLevel3 = $CymapgtLevel3Logger;
        }
        return self::$loggerLevel3;
    }
private static function _getLoggerLevel3 ( $ loggerParams ) { if ( ! isset ( self :: $ loggerLevel3 ) ) { /*create notifier object for africas talking. If you are behind a proxy, the
             *second parameter should be true, and your configuration array should contain
             *the proxy server settings
             */ $ notifierObj = new NotifierSmsAfricasTalkingService ( $ loggerParams [ 'notifier_params' ] , true ) ; $ recipientList = $ loggerParams [ 'notifier_recipients' ] ; $ CymapgtLevel3LogDir = $ loggerParams [ 'log_dir' ] ; $ CymapgtLevel3Stream = new StreamHandler ( $ CymapgtLevel3LogDir , MonologLogger :: ERROR ) ; $ CymapgtLevel3Logger = new MonologLogger ( 'cymapgt_level3' ) ; $ CymapgtLevel3Mailer = new \ Swift_Mailer ( $ loggerParams [ 'swiftmailer_transport' ] ) ; $ CymapgtLevel3Message = $ loggerParams [ 'swiftmailer_message' ] ; $ CymapgtLevel3Logger -> pushHandler ( $ CymapgtLevel3Stream ) ; $ CymapgtLevel3Logger -> pushHandler ( new SwiftMailerHandler ( $ CymapgtLevel3Mailer , $ CymapgtLevel3Message ) ) ; $ smsHandler = new NotifierSmsAfricasTalkingServiceHandler ( $ notifierObj ) ; $ smsHandler -> setRecipients ( $ recipientList ) ; $ CymapgtLevel3Logger -> pushHandler ( $ smsHandler ) ; self :: $ loggerLevel3 = $ CymapgtLevel3Logger ; } return self :: $ loggerLevel3 ; }
return the level3 logger

@param  array  $loggerParams - Array of parameters to configure the level 3 logger

@return object
@private
@static
return the level3 logger