Wednesday, April 18, 2012

Add timestamp to Rails BufferedLogger output

Little monkey-patch to automatically add a timestamp next to each BufferedLogger log entry. Throw it in your Rails "initializers" directory as "make_buffered_logger_useful.rb" ;)