No commit activity in last 3 years
No release in over 3 years
Just is the canonical rails logger, you don't miss anything, just better!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.4

Runtime

 Project Readme

RailsBetterLogger Build Status Gem Version

It just canonical rails logger, you don't miss anything, just better!

Getting Started

Install via Rubygems

$ gem install rails_better_logger

And then you could make this gem applied to all your's rails project with just settings one environment variable in you $HOME startup script.

e.g. any of .bashrc/.profile/.bash_profie, setting this:

export $RUBYOPT=-rrails_better_logger

Or ...

Add to your project Gemfile

group :development do
  gem 'rails_better_logger'
end

SnapShot

  1. Highlight any request and controller action, with params.

File

  1. Highlight UPDATE/INSERT/DELETE SQL query.

File

  1. SQL query positional parameter always be print to a new line. (make query and data seperate, more clearly)

File

  1. Highlight slow rendered views. (great than 99 ms)

File

Support

  • Rails 4+, issues welcome.

Advise

  • Any advise is welcome, just make this gem better.

TODO

  • Background highlight for any Exception.
  • Make color can be configure.

Contributing

  • Bug reports
  • Source
  • Patches:
    • Fork on Github.
    • Run gem install --dev rails_better_logger or bundle.
    • Create your feature branch: git checkout -b my-new-feature.
    • Commit your changes: git commit -am 'Add some feature'.
    • Push to the branch: git push origin my-new-feature.
    • Send a pull request :D.

license

Released under the MIT license, See LICENSE for details.