Module: ActiveMatrix::Logging
- Included in:
- AgentManager, AgentRegistry, Api, Bot::Base, Client, ClientPool, ClientPool::HomeserverPool, EventHandlerArray, EventRouter, Memory::Base, Room
- Defined in:
- lib/active_matrix/logging.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
5 6 7 |
# File 'lib/active_matrix/logging.rb', line 5 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#logger ⇒ Object
19 20 21 |
# File 'lib/active_matrix/logging.rb', line 19 def logger @logger ||= self.class.logger end |
#logger=(logger) ⇒ Object
23 24 25 |
# File 'lib/active_matrix/logging.rb', line 23 def logger=(logger) @logger = logger end |