Module: BmcDaemonLib::LoggerHelper
- Included in:
- MqConsumer, MqEndpoint, WorkerBase
- Defined in:
- lib/bmc-daemon-lib/logger_helper.rb
Instance Attribute Summary collapse
-
#log_context ⇒ Object
writeonly
Sets the attribute log_context.
-
#logger ⇒ Object
Use accessor to expose logger to Grape, as it uses logger.*.
Instance Attribute Details
#log_context=(value) ⇒ Object
Sets the attribute log_context
7 8 9 |
# File 'lib/bmc-daemon-lib/logger_helper.rb', line 7 def log_context=(value) @log_context = value end |
#logger ⇒ Object
Use accessor to expose logger to Grape, as it uses logger.*
6 7 8 |
# File 'lib/bmc-daemon-lib/logger_helper.rb', line 6 def logger @logger end |