End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Logger::Formatter#msg2str
msg2str(msg)
lib/logger/formatter.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/logger/formatter.rb, line 25
def msg2str(msg)
case msg
when ::String
msg
when ::Exception
"#{ msg.message } (#{ msg.class })\n#{ msg.backtrace.join("\n") if msg.backtrace }"
else
msg.inspect
end
end
No documentation available