from Hacker News

Blackbird - Open Source JavaScript Logging Utility

by mgamer on 4/11/11, 7:29 AM with 11 comments

  • by cimi_ on 4/11/11, 8:48 AM

    Besides the different logging levels, I don't think this brings much improvement over console.log. I think I'll stick with that.
  • by lscharen on 4/11/11, 10:34 AM

    I found this project a few days ago while looking for a javascript logging framework. It looks slick, but I think I'll stick to my choice of using log4javascript due to it's support for logging to a server via AJAX -- this is a very important feature for a JS logging framework, as far as I am concerned.
  • by retube on 4/11/11, 10:50 AM

    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 are doing, errors thrown etc.

  • by sonofjanoh on 4/11/11, 11:14 AM

    It's nice, the only thing is, if your site's style sheet uses class names like "error", "debug" and so on, it will mess up the log window.

    You have 2 options: 1 - modify your styles 2 - modify blackbird styles + code

    I'll stick to console.log as well but a great tool nevertheless.

  • by muxxa on 4/11/11, 10:44 AM

  • by bni on 4/11/11, 11:17 AM

    Would be useful for me if it supported mobile browsers. Maybe bring up the logging GUI by doing a "secret" gesture?