msg2str(msg)private
No documentation available.
# File activesupport/lib/active_support/core_ext/logger.rb, line 99
def msg2str(msg)
case msg
when ::String
msg
when ::Exception
"#{ msg.message } (#{ msg.class })\n" <<
(msg.backtrace || []).join("\n")
else
msg.inspect
end
end