Class Log4r::PatternFormatter
In: /home/cepheus/projects/prep/log4r-1.0.0/src/log4r/patternformatter.rb
Parent: BasicFormatter
See log4r/patternformatter.rb< /a>
Methods
create_format_methods    new   
Attributes
date_method  [R] 
date_pattern  [R] 
pattern  [R] 
Public Class methods
new(hash)
Accepts the following hash arguments (either a string or a symbol):

pattern
A pattern format string.
date_pattern
A Time#strftime format string. See the Ruby Time class for details.
date_method
As an option to date_pattern, specify which Time.now method to call. For example, usec or to_s. Specify it as a String or Symbol.

The default date format is ISO8601, which looks like this:

  yyyy-mm-dd hh:mm:ss    =>    2001-01-12 13:15:50
create_format_methods(pf)
Implementation detail.