library/Garp/ErrorHandler.php
public static function logErrorToFile($errors) {
        $errorMessage = self::_composeFullErrorMessage($errors);

        $stream = fopen(APPLICATION_PATH . '/data/logs/errors.log', 'a');
        $writer = new Zend_Log_Writer_Stream($stream);
        $logger = new Zend_Log($writer);
        $logger->log($errorMessage, Zend_Log::ALERT);
    }
public static function logErrorToFile($errors) {
        $errorMessage = self::_composeFullErrorMessage($errors);

        $stream = fopen(APPLICATION_PATH . '/data/logs/errors.log', 'a');
        $writer = new Zend_Log_Writer_Stream($stream);
        $logger = new Zend_Log($writer);
        $logger->log($errorMessage, Zend_Log::ALERT);
    }
public static function logErrorToFile ( $ errors ) { $ errorMessage = self :: _composeFullErrorMessage ( $ errors ) ; $ stream = fopen ( APPLICATION_PATH . '/data/logs/errors.log' , 'a' ) ; $ writer = new Zend_Log_Writer_Stream ( $ stream ) ; $ logger = new Zend_Log ( $ writer ) ; $ logger -> log ( $ errorMessage , Zend_Log :: ALERT ) ; }
Log that pesky error to a file

@param ArrayObject $errors
@return void
Log that pesky error to a file