Welcome Guest, Not a member yet? Register   Sign In
Using CI logging from my own library
#3

[eluser]matthew1471[/eluser]
Hi bretticus,

Yep, I'm using

Code:
$this->log_message('info', 'log message');

to log the message.

The logging level is set correctly in the config, as I'm using the same 'info' level in other parts of my code, and items are being logged OK.

I'm also using

Code:
$ci =& get_instance();

to pull in the rest of the CI libraries.

Weird... I'll keep on looking!

Cheers,
Matt


Messages In This Thread
Using CI logging from my own library - by El Forum - 10-08-2010, 01:59 PM
Using CI logging from my own library - by El Forum - 10-08-2010, 02:26 PM
Using CI logging from my own library - by El Forum - 10-08-2010, 04:01 PM
Using CI logging from my own library - by El Forum - 10-08-2010, 08:17 PM
Using CI logging from my own library - by El Forum - 10-09-2010, 12:39 AM
Using CI logging from my own library - by El Forum - 10-09-2010, 11:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB