log = $log; } function getLog() { if($this->log) return $this->log; $this->log = new lmbLog(); if(defined('LIMB_VAR_DIR')) $this->log->registerWriter(new lmbLogFileWriter(LIMB_VAR_DIR . '/log/')); return $this->log; } } ?>