Mail on error |
[eluser]FinalFrag[/eluser]
Hi all, I want to extend the error reporting class to send me an e-mail when an error happens. I think I would have to create a class MY_Log to extend the CI_Log class. I have the following code in MY_Log: Code: <? This doesn't seem to work. Could anyone explain to me why? I also altered my autoload.php to automaticly load the Log class (but I'm not sure if this is really necessary)... I'm really confused to which class I have to extend and which functions to overwrite as it seems like there is a global function 'error_log' and a function 'write_log' in the Log class. Which one should I extend? Hope anyone can help me out on this one... Thnx in advance, FinalFrag |
Messages In This Thread |
Mail on error - by El Forum - 09-18-2008, 08:46 AM
Mail on error - by El Forum - 09-19-2008, 04:33 AM
Mail on error - by El Forum - 09-19-2008, 04:00 PM
Mail on error - by El Forum - 10-08-2008, 06:22 PM
|