Welcome Guest, Not a member yet? Register   Sign In
Poll: Improved error logging?
You do not have permission to vote in this poll.
yes
72.73%
24 72.73%
no
15.15%
5 15.15%
maybe
12.12%
4 12.12%
Total 33 vote(s) 100%
* You voted for this item. [Show Results]

Improve Error Logging
#4

If anything I think we should have the default "ci logger" and a simple way to bootstrap something like monolog (or any PSR3 interface compatible logger) would be best.
I have already extended log (MY_Log.php) to do this.
When simple logging is needed the standard CI version fine for my work.
Then simply by composering in monolog I can setup a log.php config file switch a setting in config.php and start using it.
Having the CI team write and support 10 different logging methods I feel is overkill.
I would rather have them focus on something else.

I do think we should support all the PSR3 levels in the built in package thou. This way dropping in a PSR3 logger the level would map directly.

DMyers
Reply


Messages In This Thread
Improve Error Logging - by GeorgeD - 04-07-2015, 01:28 AM
RE: Improve Error Logging - by RWCH - 04-07-2015, 05:48 AM
RE: Improve Error Logging - by GeorgeD - 04-07-2015, 07:12 AM
RE: Improve Error Logging - by dmyers - 04-07-2015, 10:17 AM
RE: Improve Error Logging - by albertleao - 04-08-2015, 09:13 AM
RE: Improve Error Logging - by Razican - 04-19-2015, 03:15 PM
RE: Improve Error Logging - by fuxu - 04-09-2015, 12:43 AM
RE: Improve Error Logging - by mwhitney - 04-13-2015, 10:15 AM
RE: Improve Error Logging - by curunoir - 04-20-2015, 03:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB