Skip to content

Ruby library that implements the Chrome Logger spec as Rack middleware

License

Notifications You must be signed in to change notification settings

cookrn/chrome_logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChromeLogger

Gem Version Build Status Code Climate Coverage Status Dependency Status

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

MIT

About

Ruby library that implements the Chrome Logger spec as Rack middleware

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages