Cannot extend or over-ride CI_Log - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Cannot extend or over-ride CI_Log (/showthread.php?tid=45294) |
Cannot extend or over-ride CI_Log - El Forum - 09-15-2011 [eluser]RJ[/eluser] I've been trying to extend CI_Log. Every time I add the file class MY_Log extends CI_Log the site goes blank white. I tried copying the system Log.php file into my applications/libraries folder to completely over-ride with no result (not even white screen this time). I removed the Log.php file in system/libraries and then it would use the over-ride file except still a white screen. Mind you this is the exact same file just placed in app/lib folder. I am over-riding and extending several other libraries with no issue. Any thoughts? Quote:Edit: I can now extend and echo "test" from the construct. If I add log_message() to end of construct we go white again (with "test" printed), and nothing is added to the log.. at all. Any thoughts? |