gabordemooij/redbean — pull request #143 by tomasklapka (2012-04-06 15:24:11+00:00)
Title: RedBean_ILogger for debug output

Hi gabor, please pull my changes if you are interested in my commit ;)

I wanted to debug RB queries in AJAX calls and echoing broke everything so I wanted RB to be able to inject by my own Logger::log() method so I can implement logging through FireLogger or log to file.

It changes a little bit the debug output but it is possible to implement any Logger interface now.

Feel free to adjust as you think it would fit.