log4r icon indicating copy to clipboard operation
log4r copied to clipboard

Implement <<

Open jessebs opened this issue 9 years ago • 0 comments

The built in ruby logger has a << method that is not implemented by Log4r. We are able to get around the issue for our needs by monkey patching as follows, but that is not a generic solution:

class Log4r::Logger
  def <<(message)
    info(message)
  end
end

jessebs avatar Jan 23 '17 21:01 jessebs