Logs
Logging is essential for every developer. You can log information to the log files by using the system_log(type, msg)
method. You must supply the message itself. Please add $this->load->helper('development/developer');
library in constructor in class level or function to use system_log.
Log will be stored in system and you can see them when you want with url Open Logs
Example:
function __construct() {
$this->load->helper('development/developer');
}
public function default_function($data_array)
{
system_log("debug", "Record has been called ");
}