Studyon Minte9.com
ZF 1.0




Logger



$writer = new Zend_Log_Writer_Stream(_APP_ABSOLUTE_PATH. '/Application/logs/log_' . date('d-m-Y') . '.txt');
$logger = new Zend_Log($writer);
$logger->log("homepage: ".$e->getMessage()." (code: ". $e->getCode() .") in " . __FILE__, Zend_Log::ERR);