You can use the log_message() function and put it in the constructor, so it will be executed when it initiated
Put this in your model’s constructor (parent::Model())
log_message (“debug”, “Yourmodel is loaded”);
don’t forget to set the log config to debug mode, see the config.php file
$config[‘log_threshold’] = 2;
And set the system/logs directory permission to writable (by default CI will create the log files here)
or set the logs directory in another dir
$config[‘log_path’] = ‘another/directory/logs/’;
CI will then create the log file in the directory. monitor the log files as you like. You can get the debug message to see if your model is already loaded or not in the log files.