Sha256: 7e55ec8cc7c8dcd9786cbd9a6ec68aa701ac108032c8c3ea3f77afee673fdb3e
Contents?: true
Size: 297 Bytes
Versions: 15
Compression:
Stored size: 297 Bytes
Contents
# setup the logger require 'logger' $log = Logger.new(STDOUT) $log.level = Logger::INFO $log.datetime_format= "%Y-%m-%d %H:%M:%S" $log.formatter = proc do |severity, datetime, progname, msg| "[#{severity}] #{progname}: #{datetime.strftime($log.datetime_format)}: #{msg}\n" end
Version data entries
15 entries across 15 versions & 1 rubygems