chromelogger-python
chromelogger-python copied to clipboard
Python library for logging variables to Google Chrome console
There are small typos in: - README.md - chromelogger.py Fixes: - Should read `application` rather than `apllication`. - Should read `after` rather than `ater`. Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md
Fix DjangoMiddleware for django >= 1.10
Hi, Firefox has an option to activate server logging using this protocol. It is not working because in: ``` def _log(args): global backtraces type = args[0:1] .... ``` type it...
Something like `chromelogger.install_logging(level=logging.DEBUG)` would be very useful. Or just `logging.root.addHandler(chromelogger.ChromeloggerHandler())`.
I've added a simple python logging handler for the chrome logger so it can be dropped in to existing logging frameworks. This isn't rigorously tested, so there may be some...
This is a decorator to use chromelogger with web2py.
You might want to put `rows` inside a `threading.local()` to play nice with multi-threaded servers.