Sha256: 7cda35ed0b1eca68084e68d9861da9379364b26226ca7ad80db644066bf70593

Contents?: true

Size: 224 Bytes

Versions: 3

Compression:

Stored size: 224 Bytes

Contents

require 'logger'

module WMLAction

  module Log
    @@log ||= Logger.new(STDERR)
    @@log.sev_threshold = Logger::ERROR

    def log
      @@log
    end

    def level=(l)
      @@log.sev_threshold = l
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wml_action-0.0.4 lib/wml_action/log.rb
wml_action-0.0.3 lib/wml_action/log.rb
wml_action-0.0.2 lib/wml_action/log.rb