Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

Logger#<<

<<(msg)

Dump given message to the log device without any formatting. If no log device exists, return nil.

See also .new #add #close also in 3.4 · 3.3 · 3.2 · 3.1