SecurityInnovation/TeamMentor-PHP — Issue #3: Centralize Logging
Author: SergeTruth
Created: 2011-11-09 13:31:01+00:00
State: open

"use PHP's trigger_error() function in conjunction with a custom error handler which uses error_log()
Additional Information:
Http://www.php.net/manual/en/book.errorfunc.php
http://www.php.net/manual/en/function.set-error-handler.php
http://www.php.net/manual/en/function.trigger-error.php
http://www.php.net/manual/en/function.error-log.php
http://www.php.net/manual/en/errorfunc.configuration.php#ini.error-log
Related items: Use a Global Exception Handler for Unhandled Exceptions"