Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

JLog - Rails integration with server side logger

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

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.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
Something went wrong with that request. Please try again.