README.md in google-api-client-0.19.8 vs README.md in google-api-client-0.20.0

- old
+ new

@@ -279,26 +279,23 @@ ## Logging The client includes a `Logger` instance that can be used to capture debugging information. -To set the logging level for the client: +When running in a Rails environment, the client will default to using `::Rails.logger`. If you +prefer to use a separate logger instance for API calls, you can provide a new logger instance: ```ruby -Google::Apis.logger.level = Logger::DEBUG +Google::Apis.logger = Logger.new(STDERR) ``` -When running in a Rails environment, the client will default to using `::Rails.logger`. If you -prefer to use a separate logger instance for API calls, this can be changed via one of two ways. +Or, you can set the environment variable `GOOGLE_API_USE_RAILS_LOGGER` to any value other than `'true'`; this will send all logging information to STDOUT. -The first is to provide a new logger instance: +To set the logging level for the client: ```ruby -Google::Apis.logger = Logger.new(STDERR) +Google::Apis.logger.level = Logger::DEBUG ``` - -The second is to set the environment variable `GOOGLE_API_USE_RAILS_LOGGER` to any value other than `'true'` - ## Samples See the [samples](https://github.com/google/google-api-ruby-client/tree/master/samples) for examples on how to use the client library for various services.