Welcome Guest, Not a member yet? Register   Sign In
logs
#1

This is not a bug, but an easy feature improvement.

in the CI_Model.php, instead of:
log_message('info', 'Model Class Initialized');
have:

PHP Code:
public function __construct()
{
  
log_message('info''Model Class '.get_class($this).' Initialized');
}
public function 
__destruct()
{
  
log_message('info''Model Class '.get_class($this).' destructed');



it would make debugging a lot easier for us mere mortals with large projects.

kind regards

Pete
Reply




Theme © iAndrew 2016 - Forum software by © MyBB