views:

233

answers:

5

Are there any logging frameworks for JavaScript?

A: 

Yes! And if you had bothered to Google, you would have found examples such as Log4JS, a port of Log4J, etc.

Jani Hartikainen
Google doesn't provide the ability to get the input of the SO community. Perfect case of a question where you can get answers on Google, but you can get (at least potentially) better answers here.
MatrixFrog
He didn't ask for recommendations or anything which would require human input =)
Jani Hartikainen
+4  A: 

Try log4js...

Log4js is a logging framework for JavaScript. The main goal is to have a robust and solid logging API which is very simmilar to the Java logging framework Log4j.

Paul Dixon
+3  A: 

Just in case you need something simpler than Log4JS, take a look of BlackBird, it's a Javascript Logging utility very simple: Blackbird

Mogox
+1 Blackbird looks cool, not heard of that
Supertux
Blackbird is pretty, but quite basic.
Tim Down
+5  A: 
CMS
Hmmm...I like Firebug, but logging framework, really?
Supertux
+2  A: 

log4javascript is in my opinion the best cross-browser JavaScript logging library.

But then I would say that, since I wrote it.

Tim Down