A Logger API compliant logger that will keep track of things like log levels and time stamps for you. Use case is more for small chunks of activity logging that belongs together, usually for dumping into JSON and writing out to a file, printing on the terminal, or even writing to a database for tracking.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install awesome_logger
logger = AwesomeLogger.new logger.log "Something happened" logger.fatal "Something terrible happened"
- 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