templates/cloud/wrapper_gem/readme.erb in gapic-generator-cloud-0.10.1 vs templates/cloud/wrapper_gem/readme.erb in gapic-generator-cloud-0.11.0
- old
+ new
@@ -58,10 +58,11 @@
and includes substantial interface changes. Existing code written for earlier
versions of this library will likely require updates to use this version.
See the {file:MIGRATING.md MIGRATING.md} document for more information.
<%- end -%>
+<%- unless gem.generate_rest_clients? -%>
## Enabling Logging
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
@@ -84,9 +85,10 @@
module GRPC
extend MyLogger
end
```
+<%- end -%>
## Supported Ruby Versions
This library is supported on Ruby 2.5+.
Google provides official support for Ruby versions that are actively supported