CodeIgniter Forums

Full Version: Database (Active Records) use in Log?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]JackU[/eluser]
I have been trying to use the Database class (Active Records) to store log information. This is very handy since it doesn´t care about what DB you use.

Only problem. It doesn´t seem to be loaded in this early stage. I would prefer to use a Model for this. But that doesn´t seem to be loaded either.

I know that the Log is one of the earliest loads. So, is there a way to do this with CodeIgniter?

Also...i have an Extended_Log class that i use to do this.