Sha256: 14b5b5f144c52bbac428e6344dc007bf5fa765968bfbb32a2129a49ac18b9c3f

Contents?: true

Size: 192 Bytes

Versions: 12

Compression:

Stored size: 192 Bytes

Contents

module Isimud
  module Logging
    def log(message, level = Isimud.log_level)
      logger.send (level || :debug).to_sym , message
    end

    def logger
      Isimud.logger
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
isimud-1.4.7 lib/isimud/logging.rb
isimud-1.4.6 lib/isimud/logging.rb
isimud-1.4.5 lib/isimud/logging.rb
isimud-1.4.4 lib/isimud/logging.rb
isimud-0.7.0 lib/isimud/logging.rb
isimud-1.4.3 lib/isimud/logging.rb
isimud-1.3.9 lib/isimud/logging.rb
isimud-1.4.2 lib/isimud/logging.rb
isimud-1.4.1 lib/isimud/logging.rb
isimud-0.5.2 lib/isimud/logging.rb
isimud-1.3.8 lib/isimud/logging.rb
isimud-1.3.1 lib/isimud/logging.rb