![]() |
Asking about log_message files - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Asking about log_message files (/showthread.php?tid=17865) |
Asking about log_message files - El Forum - 04-17-2009 [eluser]Lima[/eluser] I'm using threshold=2 in my CI config and log files stored on logs directory. Log file seem like this Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?> Is there any function built in CI to view log files? (ie. on admin page) Thanks Asking about log_message files - El Forum - 04-18-2009 [eluser]Wuushu[/eluser] maybe you could use the helper function $content = read_file($path.$file) ? then echo $content; just my first thought on top of my head |