private function getLogger($name) { $logfile_dir = join(DIRECTORY_SEPARATOR, array(APP_PATH, "logs", date("Ymd", time()))); if (!is_dir($logfile_dir)) { @mkdir($logfile_dir, 0777, true); chmod($logfile_dir, 0777); } $logger = new LoggerEngine($logfile_dir . DIRECTORY_SEPARATOR . $name . ".log"); $logfile = $logger->getPath(); chmod($logfile, 0777); return $logger; }
public function getPath() { return parent::getPath(); }