public function log($msg) { $agi = $this->getAgi(); $this->logger->debug($msg); $agi->consoleLog($msg); }