Sha256: a577fe39e55b7caecc4e49ac18460ab9215d1ed89f0e6d52356c4ab783f217fb

Contents?: true

Size: 266 Bytes

Versions: 5

Compression:

Stored size: 266 Bytes

Contents

require 'logger'

module Toaster 
  @@logger = Logger.new(STDOUT)
  @@logger.level = Logger::DEBUG

  module Logging 

    def self.level(log_level)
      @@logger.level = log_level  
    end
    
    def self.get_level 
      @@logger.level
    end
    
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cloud-toaster-1.1.6 lib/toaster/util/logging.rb
cloud-toaster-1.1.5 lib/toaster/util/logging.rb
cloud-toaster-1.1.4 lib/toaster/util/logging.rb
cloud-toaster-1.1.3 lib/toaster/util/logging.rb
cloud-toaster-1.1.2 lib/toaster/util/logging.rb