Sha256: b408c9df570cfd82cf64e3946a350970c4dedd37f2080823e99937be55d19ac0
Contents?: true
Size: 266 Bytes
Versions: 2
Compression:
Stored size: 266 Bytes
Contents
module RRImm module Logger def info(message) puts format_log(message) end def debug(message) puts format_log(message) if ENV['RRIMM_DEBUG'] end def format_log(message) "#{Time.now.strftime('%T')} message" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rrimm-0.14.8 | lib/rrimm/logger.rb |
rrimm-0.14.7 | lib/rrimm/logger.rb |