I\'d like to receive error logs via email. For example, if a Warning-level
error message should occur, I\'d like to get an email about it.
How can I get tha
One thing that is left out of the solution is that you have to grab CodeIgniters super object to load and use the email library (or any of CodeIgniters other libraries and native functions).
$CI =& get_instance();
After you have done that you use $CI
instead of $this
to load the email library and set all of the parameters. For more information click here and look under the Utilizing CodeIgniter Resources within Your Library section.