Standard Ruby logger, except fancier.
Add this line to your application's Gemfile:
gem 'axe_logger'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fancy_logger
It's the same logger you use every day:
l = AxeLogger.new(STDOUT)
l.level = 0
l.debug 'debugging is easy'
l.info 'informing as well'
l.warn 'OH WAIT! Something suspicious'
l.error 'ACHTUNG! ZIE BIG ERROR'
except it colores warning levels, and prints out the file, line, and function from which it was called:
- 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