log4javascript 1.4 distribution
Author: Tim Down - tim@log4javascript.org
Description: log4javascript, a logging framework for JavaScript based on log4j

# log4javascript

# log4javascript 1.4 distribution

From version 1.4 the distribution includes three different editions of log4javascript:

- Standard Edition

  Equivalent to log4javascript from earlier versions and suitable for general JavaScript debugging and logging (including via Ajax).

- Production Edition

  Designed for use in production systems where the focus is solely on logging JavaScript messages back to the server. Consequently this edition omits all appenders except AjaxAppender, resulting in a drastically reduced file size compared to the standard edition.

- Lite Edition

  A lightweight version of log4javascript for quick page debugging. Included is a single logger using a basic pop-up window appender with a fixed layout.

Each edition comes in compressed and uncompressed versions. The compressed version is functionally identical to the uncompressed version but has had whitespace and comments removed and therefore downloads more quickly.

Each edition also comes with a stub version. This contains dummy implementations of all log4javacript objects and methods in the public API, making it ideal for production environments where logging is not required. Replacing the main log4javascript script file with this file means that log calls may be left in production code. Compressed and uncompressed versions of each stub are included.

Finally, each edition comes with a suite of unit tests, available as HTML pages in the `test/` directory. Note that these tests crash old versions (pre-3.1) of Safari. Sorry.