Method: CouchbaseModelLogging::Logger#initialize

Defined in:
lib/couchbase_model_logging/logger.rb

#initialize(client, prefix = nil, options = { }) ⇒ Logger

Returns a new instance of Logger.



9
10
11
12
13
14
# File 'lib/couchbase_model_logging/logger.rb', line 9

def initialize(client, prefix = nil, options = { })
  self.client           = client
  self.prefix           = prefix
  self.key_separator    = ":"
  self.string_separator = options[:string_separator] || '[SEP]'
end