[eluser]SneakyDave[/eluser]
This class doesn't quite work for me, unless I'm calling the method incorrectly.
I'm able to load this new library by autoloading it as 'MY_log', this is confirmed by some echo statements that the custom library has been loaded.
But if I use this method to try to log something
Code:
log_message ('INFO','msg');
It appears the native method is called, and these other guesses didn't work either...
Code:
$this->MY_Log->log_message ('INFO','msg') // Message: Undefined property: ::$MY_Log
Code:
$this->log_message ('INFO','msg') // blank page
Code:
$this->Log->log_message ('INFO','msg') // Message: Undefined property: ::$Log
Code:
$this->log->log_message ('INFO','msg') // Message: Undefined property: ::$log
So I don't know how the method is supposed to be called. I'm running CI 1.6.3