Removing service logger. Incorrect implementation; loggers are global instead, and...
authorSergio Gomes <sgomes@google.com>
Tue, 29 Oct 2013 13:17:39 +0000 (13:17 +0000)
committerSergio Gomes <sgomes@google.com>
Tue, 29 Oct 2013 13:17:39 +0000 (13:17 +0000)
lib/google/api_client/service.rb

index b2d7042a1af134b2d99685882140250f3dbf6147..a91ab652ed020301fe158ff1ecf082deac09a0f7 100755 (executable)
@@ -110,7 +110,6 @@ module Google
         end
 
         @client = Google::APIClient.new(params)
-        @client.logger = options[:logger] if options.include? :logger
 
         @connection = options[:connection] || @client.connection
 
@@ -147,13 +146,6 @@ module Google
         generate_call_stubs(self, @api)
       end
 
-      ##
-      # Logger for the Service.
-      #
-      # @return [Logger]
-      #  The logger instance.
-      def_delegators :@client, :logger, :logger=
-
       ##
       # Returns the authorization mechanism used by the service.
       #