PHPBasePlate Wiki
PHP Framework to simplify development process
Status: Beta
Brought to you by:
itsmestevieg
Blunder Error logger is automatically started in the common.php file.
Blunder has 3 Modes:
Example 1: $elog=new errorLogger(); //Default Mode: Log to Logs Folder
Example 2: $elog=new errorLogger("user@domain.com"); //Email Errors and Log to Logs Folder
Example 3: $elog=new errorLogger(NULL,"/var/log/phperrors.php"); //No Email but specify custom path
Bluder can be tested by throwing an error such as $val=0/0;
which would throw a divide by zero error.
Alternatively you can throw your own error using trigger_error("My Custom Error Message",E_USER_ERROR);