Sha256: 0d2db37860316c1b4b5d4fdfbe26e18e716aa0f535d09c9d3712a6cb8f9f2dde
Contents?: true
Size: 385 Bytes
Versions: 6
Compression:
Stored size: 385 Bytes
Contents
class Lono::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
6 entries across 6 versions & 1 rubygems