Sonnet
Structured logging for Ruby applications.
Alternatives
Installation
Add this line to your application's Gemfile:
gem 'sonnet'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sonnet
Usage
require "sonnet"
logger = Logger.new(STDOUT)
logger.extend(Sonnet::Logger)
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/allspiritseve/sonnet.
License
The gem is available as open source under the terms of the MIT License.