Logging errors in cakePHP
Wednesday, April 22, 2009 21:17Posted in category cakePHP Interview Questions
No Comments
$this->log('Something broke');
This will log your error to /tmp/logs/ (I initially made the mistake of thinking it would log it to the apache error log)
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.


