Sha256: 810163364fffac8d6c45ad837e709654cdc17a27dea073ee9001af7aca61387c

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

jlog-rails
==========

JLog - Rails integration with server side logger for JLog.js

Usage:
------

In the Gemfile:

    gem 'jlog-rails'

then:

    rails g jlog:install

On the client-side:

    var logger = new JLog();
    logger.addAppender(new JLog.AjaxAppender('/jlog/append'));
    logger.warn('warning to be recorded in the server-side log');

Changelog:
----------
* 0.1.3
  * Set jQuery $.ajax 'global' setting to false to prevent the global handlers
  like ajaxStart or ajaxStop from being triggered.
* 0.1.1
  * Cleaned JLog.JS code
* 0.1.0
  * JLog rails engine can now be mounted several times
  * Added ability to configure the ruby logger(s) and the output format(s)
  * Fixed JSHint warnings
* 0.0.3
  * Adding bulk flush in the ajax appender
* 0.0.2
  * Changed format of output message
  * InstallGenerator now updates application.js
* 0.0.1
  * Added InstallGenerator
  * Renamed JLog to Jlog
  * Moved to AjaxController ActionController::Metal
  * Added support for server-side logging of client events with Rails.logger
  * Added AjaxAppender
  * Initial port of jlog.js

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jlog-rails-0.1.3 README.md