Sha256: d6c55b830bf80c60f61fb5a8e54ecc1b6476d2b95fc435e80f3c3d39e3f8ee20
Contents?: true
Size: 540 Bytes
Versions: 11
Compression:
Stored size: 540 Bytes
Contents
module Chimp class Log @@logger = Logger.new(STDOUT) @@logger.sev_threshold=Logger::INFO def self.logger=(l) @@logger = l end def self.threshold=(level) @@logger.sev_threshold=level end def self.default_level(level) @@logger.level = level end def self.debug(m) @@logger.debug(m) end def self.info(m) @@logger.info(m) end def self.warn(m) @@logger.warn(m) end def self.error(m) @@logger.error(m) end end end
Version data entries
11 entries across 11 versions & 1 rubygems