Menu

Blunder

Blunder (Error Logger)

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);


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.