class Kuroko2::Util::Logger::LoggerFormatter
Public Instance Methods
call(severity, timestamp, progname, msg)
click to toggle source
# File lib/autoload/kuroko2/util/logger.rb, line 11 def call(severity, timestamp, progname, msg) location = caller_locations(4, 1).first "%s %-5s - %s: %s\n" % [timestamp.iso8601, severity, location.label, msg] end