Sha256: 9c5f590a6019e5d3024cf771f505ce5196576d305aaf33a90abeedad40838e66

Contents?: true

Size: 288 Bytes

Versions: 8

Compression:

Stored size: 288 Bytes

Contents

module Quandl
module Operation
  
class CommonLogger
  
  class << self
  
    delegate :info, :debug, :with_time_elapsed, to: :logger, allow_nil: true
  
    def logger
      @@logger if defined?(@@logger)
    end
    def use(value)
      @@logger = value
    end
  
  end
  
end
end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
quandl_operation-0.0.8 lib/quandl/operation/common_logger.rb
quandl_operation-0.0.7 lib/quandl/operation/common_logger.rb
quandl_operation-0.0.6 lib/quandl/operation/common_logger.rb
quandl_operation-0.0.5 lib/quandl/operation/common_logger.rb
quandl_operation-0.0.4 lib/quandl/operation/common_logger.rb
quandl_operation-0.0.3 lib/quandl/operation/common_logger.rb
quandl_operation-0.0.2 lib/quandl/operation/common_logger.rb
quandl_operation-0.0.1 lib/quandl/operation/common_logger.rb