Removing service logger. Incorrect implementation; loggers are global instead, and set in a Google::APIClient class method
This commit is contained in:
parent
0fd0dca2f4
commit
ef4541b6eb
|
@ -110,7 +110,6 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
@client = Google::APIClient.new(params)
|
@client = Google::APIClient.new(params)
|
||||||
@client.logger = options[:logger] if options.include? :logger
|
|
||||||
|
|
||||||
@connection = options[:connection] || @client.connection
|
@connection = options[:connection] || @client.connection
|
||||||
|
|
||||||
|
@ -147,13 +146,6 @@ module Google
|
||||||
generate_call_stubs(self, @api)
|
generate_call_stubs(self, @api)
|
||||||
end
|
end
|
||||||
|
|
||||||
##
|
|
||||||
# Logger for the Service.
|
|
||||||
#
|
|
||||||
# @return [Logger]
|
|
||||||
# The logger instance.
|
|
||||||
def_delegators :@client, :logger, :logger=
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# Returns the authorization mechanism used by the service.
|
# Returns the authorization mechanism used by the service.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue