CodeIgniter Forums
Library for tracking what is used - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11)
+--- Thread: Library for tracking what is used (/showthread.php?tid=67351)



Library for tracking what is used - jayandrewryan - 02-13-2017

Is there a library to log what files and functions are used to load a particular view?  I wouldn't want this to be visible by users, just a log that shows something like:

IP opened URL.  Controller loaded, functions called, model loaded, functions called, view loaded, etc.

It would be very helpful in picking through someone else's work when they didn't document anything.


RE: Library for tracking what is used - ragingTorch - 02-13-2017

Logging, not so much but Ci does have profiling which can give you a lot of handy info. Have a look at https://codeigniter.com/user_guide/general/profiling.html