function init() { $this->logger = new xoxLogger('*****@*****.**', LOG_MSG_ALL); $this->logger->buffered = true; $this->logger->setID($this->name); $this->logger->begin($this->name); return parent::init(); }
function init() { if (!$this->initialized) { $this->initialized = true; $this->logger = new xoxLogger('debug', LOG_MSG_ALL); #$this->logger->buffered = true; $this->logger->setID($this->name); $this->logger->begin($this->name); return parent::init(); } return TRUE; }