A Ruby library that implements the Chrome Logger specification as Rack middleware.
See the example.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install chrome_logger
Installation on Rails
You probably only want it in certain environments. For
development, add the following to your
development group in your
gem 'chrome_logger' , :require => 'chrome_logger/railtie'
env['console'] -- That's all she wrote!
It's just Rack middleware. Check out
- Fork it
- 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)
- Create new Pull Request