Log4js

Log4js

Infobox Software
name = Log4js


caption = Log4js Logo
developer = [http://log4js.berlios.de Stephan Strittmatter, Seth Chisamore]
latest_release_version = 0.2
latest_release_date = March 3, 2006
operating_system = Windows, Linux, Mac OS
genre = Framework
license = Apache Software Foundation
website = [http://log4js.berlios.de http://log4js.berlios.de]

Log4js is a framework written in JavaScript to log application events.

The framework is very close to the API of Log4j. It is also available under the licence of Apache Software Foundation.

Functionality

The base concept is identical to Log4j. The same log levels and almost all methods are identical.

One special feature of Log4js is the ability to log the events of the browser remote on the server. Using Ajax it is possible to send the logging events in several formats (XML, JSON, plain ASCII etc.) to the server to be evaluated there.

Appender

Following appenders are implemented currently:;AjaxAppender: Sends the logs via XmlHttpRequest (Ajax) to the server to be processed there.;ConsoleAppender: Logs within the HTML page or in a separate window.;FileAppender: Writes to a local file (Internet Explorer and Mozilla supported).;JSConsoleAppender: Appender for the JavaScript Console of Mozilla, Opera and Safari.;MetatagAppender: Adds the log events to Metatags in the DOM of document.;WindowsEventsAppender: Using Internet Explorer it is possible to log to Windows System Events.

Layout

The Layout classes are for different formattings of the events:;BasicLayout: Simple textual output of the events.;HtmlLayout: Formats the event as HTML <div>-element.;JSONLayout: Converts the events to JSON-objects which are readable in many other programming languages like Perl, PHP and Java.;XMLLayout: XML formatted output.

External links

* [http://log4js.berlios.de Log4js Homepage]
* [http://scratchpad.wikia.com/wiki/Log4js Log4js Wiki]
* [http://logging.apache.org/ Apache Logging Homepage]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Log4js — Entwickler: Stephan Strittmatter, Seth Chisamore Aktuelle Version: 1.0 (4. August 2008) …   Deutsch Wikipedia

  • Log4js — Desarrollador Stephan Strittmatter, Seth Chisamore http://log4js.berlios.de Información general Última versión est …   Wikipedia Español

  • Log4J — ist ein Framework zum Loggen von Anwendungsmeldungen in Java. Es wird von unzähligen Open Source als auch kommerziellen Softwareprodukten verwendet und hat sich als De facto Standard etabliert. Das Projekt wurde von Ceki Gülcü während seiner… …   Deutsch Wikipedia

  • Log4j — ist ein Framework zum Loggen von Anwendungsmeldungen in Java. Es wird von unzähligen Open Source als auch kommerziellen Softwareprodukten verwendet und hat sich als De facto Standard etabliert. Das Projekt wurde von Ceki Gülcü während seiner… …   Deutsch Wikipedia

  • Log4net — log4j ist ein Framework zum Loggen von Anwendungsmeldungen in Java. Es wird von unzähligen Open Source als auch kommerziellen Softwareprodukten verwendet und hat sich als De facto Standard etabliert. Das Projekt wurde von Ceki Gülcü während… …   Deutsch Wikipedia

  • Log4j — Infobox Software name = Apache log4j caption = developer = Apache Software Foundation latest release version = 1.2.15 latest release date = release date|2007|09|29 latest preview version = latest preview date = operating system = Cross platform… …   Wikipedia

  • Log4javascript — is a JavaScript logging framework based on the Java logging framework log4j. The latest version is 1.3.1, released in November 2006. See also Log4js External links * [http://www.timdown.co.uk/log4javascript/ log4javascript Homepage] *… …   Wikipedia

  • log4j — Maintainer Ceki Gülcü, C. Arnold Entwickler Apache Software Foundation Aktuelle Version 1.2.16 (6. April 2010) Betriebssystem plattformunabhängig …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”