Installation

Add this line to your application's Gemfile:

gem 'specific_logging'

And then execute:

$ bundle

Or install it yourself as:

$ gem install specific_logging

Usage

@conn = Faraday.new(url: 'example.com') do |builder|
  builder.specific_logging, {logger: Rails.logger, target_key: 'hoge'}
  builder.request :json
  builder.adapter :net_http
end

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/haito/specific_logging. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.