Sha256: e924f5c6d6a8653d81d75bcade4786a08030363197b79564baca462b1959acc1
Contents?: true
Size: 343 Bytes
Versions: 20
Compression:
Stored size: 343 Bytes
Contents
module SuperLogger class Formatter < ::Logger::Formatter include ActiveSupport::TaggedLogging::Formatter def call(severity, timestamp, progname, msg) format( "%s[%-5s] %s%s\n", timestamp.to_s, severity, progname ? "#{progname} -- " : nil, "#{tags_text}#{msg}" ) end end end
Version data entries
20 entries across 20 versions & 1 rubygems