Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

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.

The logo is taken from FreeImages.co.uk.

FreeImages.co.uk


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.


Plugin Website

For additional information, please take a look at the project's website.


Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.