Login | Register
My pages Projects Community openCollabNet

Project home

2020-03-13: This site is going to be decommissioned and shut down very soon. Please copy and archive any data you wish to keep ASAP

If you were registered and logged in, you could join this project.

Summary Javascript logging framework based on log4j
Categories libraries, testing
License Apache License
Owner(s) timdown


The purpose of log4javascript is to provide JavaScript developers with a familiar, robust and flexible logging framework with which to debug JavaScript applications.

log4javascript's main features:

  • based on Java's log4j, implementing loggers, appenders, layouts and levels, providing a familiar interface;
  • a powerful log console with severity filters and searching (including regular expression searches);
  • a flexible Ajax appender that posts log messages back to the server;
  • several layouts for flexible formatting of log messages, including XML, JSON, and Pattern layouts.

Since a major use of JavaScript logging is in browser testing, log4javascript is tested and works across all recent major browsers, including:

  • Internet Explorer 5 and higher for Windows (including IE8 beta 2)
  • All versions of Firefox back to 0.6
  • Other Mozilla-based browsers, as far back as Netscape 7
  • Safari 1.3 and higher
  • Opera 8.01 and higher
  • Konqueror 3.4.3 and higher (untested on earlier versions)
  • Google Chrome

Website: log4javascript.org