Source

confluence-log4javascript-plugin / README.md

Full commit

Confluence Log4Javascript Plugin


About

Allows you to use the log4javascript logging API in your Confluence instance.

Confluence port based on Tim Down's popular JavaScript logging framework log4javascript.


License

This plugin is distributed under the Apache License, Version 2.0.


Download

Download the plugin using your Confluence's Universal Plugin Manager or download the plugin from the Atlassian Plugin Exchange.


Usage

// 1. creates a new logger
var log = log4javascript.getLogger();

// 2. create an appender . we're using the PopUpAppender here
var appender = new log4javascript.PopUpAppender();

// 3. adds the appender to the logger
log.addAppender(appender);

// 4. do some logging
log.warn("this is a warning");

Issue Tracking

Please use the issue-tracker to report issues or feature requests.


Contact

Please feel free to contact me at my website, www.hascode.com but for issues, please use the issue-tracker.