Awesome
ChromeLogger
A Ruby library that implements the Chrome Logger specification as Rack middleware.
See the example.
Installation
Add this line to your application's Gemfile:
gem 'chrome_logger'
And then execute:
$ bundle
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 Gemfile
:
gem 'chrome_logger' , :require => 'chrome_logger/railtie'
Usage
env['console']
-- That's all she wrote!
It's just Rack middleware. Check out example/config.ru
.
Contributing
- 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
License
MIT