README.md in api_client-0.5.15 vs README.md in api_client-0.5.16

- old
+ new

@@ -141,9 +141,20 @@ params({ :page => 1 }). headers('Auth-Token', 'mytoken'). get('/stuff.json') # => returns a parsed Array object ``` +## Logging + +To log requests set the `ApiClient.logger`. To log request payloads and headers set level to `Logger::DEBUG` + +```ruby +require 'logger' +ApiClient.logger = Logger.new('api_client.log') +ApiClient.logger.level = Logger::INFO + +``` + Copyright --------- Copyright (c) 2011 Marcin Bunsch, See LICENSE for details.