Live data from Hacker News

Blackbird - Open Source JavaScript Logging Utility

gscottolson.com

11–12 of 12 posts

Re: Blackbird - Open Source JavaScript Logging Utility

#11
post #7
post #6

Isn't this what Tapestry uses for client side error messaging? It's actually pretty useful for including in web-app frameworks: you can alert the developer to framework errors which might go un-noticed if just written to console.log. Of course you can disable in production. On a side note, I've wondered how useful/practical server-side logging of js running client-side would be. For keeping track of what your users a…

That's not a bad idea. Some suggestions/ideas: - It would need to be asynchronous - It would be nice to collect a log locally and send it centrally under specific circumstances (e.g. an error occurs send everything that has been logged so far) - Using some kind of local storage option might be nice (e.g. the interface to SQLite that WebKit-based browsers have).

ha - already exists: http://log4javascript.org/

Re: Blackbird - Open Source JavaScript Logging Utility

#12
post #2

Besides the different logging levels, I don't think this brings much improvement over console.log. I think I'll stick with that.

I suppose this could be very useful in debugging in IE. But the way IE shuts down the JS interpreter once an error in encountered may just render it useless anyway. Will have to try it out.

When I tried it out late last week, I could not get it to run. Installed using the sources provided in the download.

The error was 'blackbird Cannot read property 'style' of undefined'

Post reply on HN