Sha256: ee70412cc76d5c0831ec9fa4e50a54b0a5d086413ab29e507b800c281ecf561d
Contents?: true
Size: 235 Bytes
Versions: 4
Compression:
Stored size: 235 Bytes
Contents
module Zhong module Util class << self def default_logger Logger.new(STDOUT).tap do |logger| logger.formatter = -> (_, datetime, _, msg) { "#{datetime}: #{msg}\n" } end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
zhong-0.1.4 | lib/zhong/util.rb |
zhong-0.1.3 | lib/zhong/util.rb |
zhong-0.1.2 | lib/zhong/util.rb |
zhong-0.1.1 | lib/zhong/util.rb |