Sha256: 7620492d6521a8e1bce0fb4d75868d7e7fbe25b2c8b14778d39342a28714b68c
Contents?: true
Size: 384 Bytes
Versions: 36
Compression:
Stored size: 384 Bytes
Contents
class Ufo::Logger class Formatter < ::Logger::Formatter def call(severity, time, progname, msg) # careful changing the format. All::Summary uses a regexp on this format to remove the timestamp "[#{format_datetime(time)} ##{Process.pid} #{progname}]: #{msg}" end private def format_datetime(time) time.strftime("%Y-%m-%dT%H:%M:%S") end end end
Version data entries
36 entries across 36 versions & 1 rubygems