I'm trying to call a library from model in codeigniter but doesn't want to fire and I don't really know how to debug it, I have been trying to use codeigniters default logging method but doesn't show anything. My code looks as it follows.
class Model_products extends CI_Model{
function __construct(){
parent::__construct();
$this->load->library('ApiClient');
log_message('error', $this->load->library('ApiClient'));
}
}
/application/libraries/ApiClient.php
libary final class ApiClient
{}