Skip to content

Implement << #55

@jessebs

Description

@jessebs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions