Sha256: f8529f4aede6f9c4447b0dc375fcf6195282078756b2be55c3666bdbd1dec1e6
Contents?: true
Size: 313 Bytes
Versions: 6
Compression:
Stored size: 313 Bytes
Contents
require 'logger' module SimplePvr class PvrLogger @@logger = Logger.new(STDOUT) @@logger.formatter = proc do |severity, datetime, progname, msg| "[#{datetime.strftime('%Y-%m-%d %H:%M:%S')}] #{severity} #{msg}\n" end def self.info(message) @@logger.info(message) end end end
Version data entries
6 entries across 6 versions & 1 rubygems