Alephant::Logger
Logger functionality for Alephant
Installation
Add this line to your application’s Gemfile:
gem 'alephant-logger'
And then execute:
$ bundle
Or install it yourself as:
$ gem install alephant-logger
Usage
```rb require ‘alephant/logger’
Using the standard logger
class IncludesLogger include Alephant::Logger
def calls_logger logger.warn “MUCH WARN. WOW.” end end
Sets a logger
class SetsLogger include Alephant::Logger
def calls_logger Alephant::Logger.set_logger(CustomLogger.new) logger.warn “SUCH CUSTOM. MUCH LOG.” end end
```
Contributing
- Fork it ( http://github.com/
/alephant-logger/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 new Pull Request

