Sha256: bba28299626b535ac85b8c4203485aee28d59e798b991670126e1ce885f8d555
Contents?: true
Size: 391 Bytes
Versions: 96
Compression:
Stored size: 391 Bytes
Contents
class Terraspace::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
96 entries across 96 versions & 1 rubygems