Logit is purposed to be a simple extension to the usual logging tool in ruby. Mainly, the two goals are:
- Easy to use
- Colorful
Add this line to your application's Gemfile:
gem 'logit'
And then execute:
$ bundle
Or install it yourself as:
$ gem install logit
require 'logit'
module YourModuleOrClass
extend Logit
def some_method
logger.debug "The sky is falling!"
end
end- Fork it ( https://github.com/[my-github-username]/logit/fork )
- 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 a new Pull Request