123456789_123456789_123456789_123456789_123456789_

Class: Mongo::Utils::LocalLogger Private

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Instance Chain:
Inherits: Object
Defined in: lib/mongo/utils.rb

Constant Summary

::Mongo::Loggable - Included

PREFIX

Class Method Summary

Instance Attribute Summary

Instance Method Summary

::Mongo::Loggable - Included

#log_debug

Convenience method to log debug messages with the standard prefix.

#log_error

Convenience method to log error messages with the standard prefix.

#log_fatal

Convenience method to log fatal messages with the standard prefix.

#log_info

Convenience method to log info messages with the standard prefix.

#log_warn

Convenience method to log warn messages with the standard prefix.

#logger

Get the logger instance.

#_mongo_log_prefix, #format_message

Constructor Details

.new(**opts) ⇒ LocalLogger

[ GitHub ]

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

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

Instance Attribute Details

#options (readonly)

[ GitHub ]

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

attr_reader :options