[eluser]Jay Callicott[/eluser]
I am not sure if Code igniter has a way to log DB errors. I don't want to have to handle it each time I run a query. I would rather do it at the framework level.
I currently have all 30+ applications I've written running off the same code igniter framework.
If there is no code igniter way of doing things I will have to modify the DB library somewhere. I don't know if CI still doesn't let you override the DB lib.
I want to make a config var that says whether or not to log DB errors, and if it's enabled I want all errors logged in a similar way that PHP error logging currently exists.
Any ideas?