log4javascript

An open source JavaScript logging framework based on the Java logging framework log4j
Download

log4javascript Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Tim Down
  • Publisher web site:
  • http://www.timdown.co.uk/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 327 KB

log4javascript Tags


log4javascript Description

An open source JavaScript logging framework based on the Java logging framework log4j log4javascript implements a subset of log4j (primarily loggers, appenders and layouts) and has a few convenience methods of its own for quick JavaScript development. log4javascript can be used to debug JavaScript applications of all sizes, including Ajax applications. Start logging straight awayIt takes one include tag and one line of JavaScript to start using log4javascript. See the quick start tutorial to get started straight away, or have a look at the basic demo page to see it in action now.Cross-browser JavaScript logginglog4javascript is designed to work in all major browsers. Safari 1.2 onwards, Internet Explorer 5 onwards on Windows, Opera 8.01 onwards, Firefox 1.0 onwards, and Konqueror 3.4 onwards are all fully supported.Flexible loggingThe default way to display log messages is in a separate log4javascript window, featuring advanced search amd filtering functionality, as well as a command line. You can also log to an in-page log4javascript console, to Firebug, to Opera and Safari's built-in error consoles or back to the server via Ajax.Familiar APIlog4javascript's API is heavily based on log4j. log4j's API has been ported to many other languages so will be familiar to a large number of developers. log4javascript implements the key log4j concepts of loggers, appenders, layouts and levels.Rigorously testedlog4javascript is extensively tested and comes with its own test runner and suite of unit tests. Fully supported browsers:· All versions Firefox back to 0.6· Other Mozilla-based browsers, as far back as Netscape 7· Internet Explorer 5 and higher for Windows· Safari 1.3 and higher (untested on earlier versions)· Opera 8.01 and higher (pre- version 9 browsers have a rendering bug related to scrolling that affects searching in PopUpAppender and InPageAppender)· Konqueror 3.4.3 and higher (untested on earlier versions)· Google ChromePartially supported browsers:· Older Mozilla-based browsers, e.g. Netscape 6.2 (generally OK except for display problems searching and filtering PopUpAppender and InPageAppender)· Opera 7.0 - 8.0 (InPageAppender not supported until version 7.5, plus some display problems searching PopUpAppender and InPageAppender. AjaxAppender not supported at all)Unsupported browsers:· Internet Explorer for Mac. There are no plans to make log4javascript work in this browser. Here are some key features of "log4javascript": · can be initialized with one JavaScript include and one line of code; · by default logs to a pop-up console window with powerful search (including regular expression) and filtering features. This console window can also be used inline as an iframe in the main page; · can send log messages to the server via HTTP (Ajax, if you like); · highly configurable using familiar methods from log4j, including the powerful PatternLayout which gives the developer complete control over the format of the log messages. What's New in This Release: · Fixed document.domain/query string bug (#2519903 on Sourceforge Tracker) · Added isVisible() method to PopUpAppender · Added check for whether the console has been closed in isVisible() method of InPageAppender · Included unit tests in the distribution


log4javascript Related Software