Class: Log4Ruby::Formatter

Inherits:
Object
  • Object
show all
Defined in:
lib/log4ruby/formatter.rb

Overview

Base class for all formatters.

Direct Known Subclasses

DefaultFormatter

Instance Method Summary collapse

Instance Method Details

#format(log) ⇒ String

Format a log item.

Parameters:

Returns:

  • (String)

    the fully formatted log message.



15
16
# File 'lib/log4ruby/formatter.rb', line 15

def format(log)
end