Skip to content

Commit ef4541b

Browse files
author
Sergio Gomes
committed
Removing service logger. Incorrect implementation; loggers are global instead, and set in a Google::APIClient class method
1 parent 0fd0dca commit ef4541b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/google/api_client/service.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ def initialize(api_name, api_version, options = {})
110110
end
111111

112112
@client = Google::APIClient.new(params)
113-
@client.logger = options[:logger] if options.include? :logger
114113

115114
@connection = options[:connection] || @client.connection
116115

@@ -147,13 +146,6 @@ def initialize(api_name, api_version, options = {})
147146
generate_call_stubs(self, @api)
148147
end
149148

150-
##
151-
# Logger for the Service.
152-
#
153-
# @return [Logger]
154-
# The logger instance.
155-
def_delegators :@client, :logger, :logger=
156-
157149
##
158150
# Returns the authorization mechanism used by the service.
159151
#

0 commit comments

Comments
 (0)