Maintain log in codeigniter

Today, i am going to teach you how to maintain log in codeigniter. Update the config file by enable log_threshold as per your need

 

in your controller function paste the following code:

You may also like...