class Lucid::LogFormatter
Public Instance Methods
call(severity, time, progname, msg)
click to toggle source
# File lib/lucid.rb, line 47 def call(severity, time, progname, msg) if msg.is_a?(String) "\n[ LUCID (#{severity}) ] #{msg}\n" else msg = Lucid.breakdown(msg) "\n[ LUCID (#{severity}) ] \n#{msg}\n" end end