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