Class: Mongo::Utils::LocalLogger Private

Inherits:
Object
  • Object
show all
Includes:
Loggable
Defined in:
lib/mongo/utils.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Constant Summary

Constants included from Loggable

Loggable::PREFIX

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Loggable

#log_debug, #log_error, #log_fatal, #log_info, #log_warn, #logger

Constructor Details

#initialize(**opts) ⇒ LocalLogger

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of LocalLogger.



26
27
28
# File 'lib/mongo/utils.rb', line 26

def initialize(**opts)
  @options = opts
end

Instance Attribute Details

#optionsObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



30
31
32
# File 'lib/mongo/utils.rb', line 30

def options
  @options
end