Sha256: 029b393e08e3b06369ccdf9be6db2d44ff4b71ff0ce136f776d35b3eddf0d230

Contents?: true

Size: 533 Bytes

Versions: 27

Compression:

Stored size: 533 Bytes

Contents

require 'logger'

module Google
  class APIClient
    
    class << self
      ##
      # Logger for the API client
      #
      # @return [Logger] logger instance.
      attr_accessor :logger
    end

    self.logger = Logger.new(STDOUT)
    self.logger.level = Logger::WARN  

    ##
    # Module to make accessing the logger simpler
    module Logging
      ##
      # Logger for the API client
      #
      # @return [Logger] logger instance.
      def logger
        Google::APIClient.logger
      end
    end

  end
  
  
end

Version data entries

27 entries across 27 versions & 4 rubygems

Version Path
arvados-google-api-client-0.8.7.9 lib/google/api_client/logging.rb
arvados-google-api-client-0.8.7.8 lib/google/api_client/logging.rb
arvados-google-api-client-0.8.7.7 lib/google/api_client/logging.rb
arvados-google-api-client-0.8.7.6 lib/google/api_client/logging.rb
arvados-google-api-client-0.8.7.5 lib/google/api_client/logging.rb
arvados-google-api-client-0.8.7.4 lib/google/api_client/logging.rb
arvados-google-api-client-0.8.7.3 lib/google/api_client/logging.rb
arvados-google-api-client-0.8.7.2 lib/google/api_client/logging.rb
cure-google-api-client-0.8.7.1 lib/google/api_client/logging.rb
google-api-client-0.8.7 lib/google/api_client/logging.rb
jomz-google-api-client-0.7.1 lib/google/api_client/logging.rb
google-api-client-0.8.6 lib/google/api_client/logging.rb
google-api-client-0.8.5 lib/google/api_client/logging.rb
google-api-client-0.8.4 lib/google/api_client/logging.rb
google-api-client-0.8.3 lib/google/api_client/logging.rb
google-api-client-0.8.2 lib/google/api_client/logging.rb
google-api-client-0.8.1.1 lib/google/api_client/logging.rb
google-api-client-0.8.1 lib/google/api_client/logging.rb
google-api-client-0.8.0 lib/google/api_client/logging.rb
google-api-client-0.7.1 lib/google/api_client/logging.rb