Loggers Galore plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install git://github.com/GavinM/loggers_galore.git
To create a log for sessions and a log for user behavior:
Add a file to /initializers called loggers_galore.rb
In this file you can specify all of the loggers you require like so: Rails.extra_loggers = [:session, :user]
This will create two files in the /log directory called session.log and user.log and add two methods, session_logger and user_logger which can be called anyplace in your app.
All of the usual logger methods apply; debug, info, warn, error, fatal, unknown.
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, 8 months ago


