Method: Logging::Layouts::CouchDB#initialize

Defined in:
lib/logging/couch_db_layout.rb

#initialize(opts = {}) ⇒ CouchDB

call-seq:

CouchDB.new( opts )

Creates a new CouchDB layout using the following options:

:items  => %w[timestamp level logger message]


116
117
118
119
# File 'lib/logging/couch_db_layout.rb', line 116

def initialize( opts = {} )
  super
  self.items = opts.getopt(:items, %w[timestamp level logger message])
end