Parent

Methods

Log4r::SimpleFormatter

SimpleFormatter produces output like this:

  WARN loggername> Danger, Will Robinson, danger!

Does not write traces and does not inspect objects.

Public Instance Methods

format(event) click to toggle source

(Not documented)

# File log4r/formatter/formatter.rb, line 27
    def format(event)
      sprintf("%*s %s> %s\n", MaxLevelLength, LNAMES[event.level], 
              event.name, event.data)
    end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.