Sign in to edit and +1 items.
Login required
Download

Blackbird JavaScript Logging

(0)
Author(s) Nick Hammond
Current Release 0.3   (1 year ago)
Grails Version 1.3.7 >*
Tags javascript  logging  resources 
Dependency
compile ":blackbird:0.3"
Last updated by admin 1 year ago
grails install-plugin blackbird
Last updated by nhammond101 1 year ago

Blackbird JavaScript Logging

This plugin provides the developer to access Blackbird logging resources.

This plugin is Resources compliant - http://www.grails.org/plugin/resources

Usage

Add the resources using one of the methods below. In your javascript, add

log.toggle();
log.debug( message );

where message is your message to output. log.toggle() is only required if the Visible on page load checkbox isn't checked.

see http://www.gscottolson.com/blackbirdjs/ for demos and usage suggestions, but generally there are two ways to implement:

1. In conjunction with Resources plugin

http://www.grails.org/plugin/resources
The bundle required to be added is blackbird or blackbird-dev

Use blackbird-dev to show JS and CSS non-minified

2. Standalone

In the head section of your gsp page, add
<blackbird resources />
Last updated by admin 1 year ago
Last updated by admin 1 year ago