|
# File log4r/formatter/formatter.rb, line 56
def format(event)
buff = sprintf(@@basicformat, LNAMES[event.level],
event.name, MaxLevelLength)
buff += (event.tracer.nil? ? "" : "(#{event.tracer[0]})") + ": "
buff += format_object(event.data) + "\n"
buff
end
|