LocalLogger — Documentation by YARD 0.9.37 (original) (raw)

Class: Mongo::Utils::LocalLoggerPrivate

Inherits:

Object

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 Summarycollapse

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

#options ⇒ Object

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