Hi Kyle,
That is interesting. Is there a good argument for using something like
this over Log4perl?
I choose Log::Lite because of it seems easier and lighter than Log4perl. It does all what I want to implement.
The big question I have is: Would being able to output debug messages
to the web browser be useful enough to make it work implement?
Currently, the Koha logs are very verbose. If we replace all occurrences of 'warn' to use this module and display them to the web browser, the users will be unhappy. I think it is preferable to manage and encapsule potential errors and display an adapted message for each them. Yes I know it is a big work :-/
But simply it could be possible to display only error message. For developpers I think it is not very useful to display debug messages (just my opinion).
Could you test and sign-off my patch if you agree with the Koha::Utils::Logger module and/or propose changes ?