Class: Mongo::Utils::LocalLogger Private
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Instance Chain:
self,
::Mongo::Loggable
|
|
| Inherits: | Object |
| Defined in: | lib/mongo/utils.rb |
Constant Summary
::Mongo::Loggable - Included
Class Method Summary
- .new(**opts) ⇒ LocalLogger constructor Internal use only
Instance Attribute Summary
- #options readonly Internal use only
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
# 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 :