public function setLogger($loggerClass, $loggerFunc) {

        if(empty($loggerClass)) {
            $this->helper->setLogger($loggerFunc);
        } else {
            $this->helper->setLogger(array($loggerClass, $loggerFunc));
        }
    }
public function setLogger($loggerClass, $loggerFunc) {

        if(empty($loggerClass)) {
            $this->helper->setLogger($loggerFunc);
        } else {
            $this->helper->setLogger(array($loggerClass, $loggerFunc));
        }
    }
public function setLogger ( $ loggerClass , $ loggerFunc ) { if ( empty ( $ loggerClass ) ) { $ this -> helper -> setLogger ( $ loggerFunc ) ; } else { $ this -> helper -> setLogger ( array ( $ loggerClass , $ loggerFunc ) ) ; } }
Creates the logger functionality in Helper
Creates the logger functionality in Helper