Module: Messed::Logger::LoggingModule
- Included in:
- Messed, Booter, EMRunner, Interface, Interface::Adapter, Interface::Adapter::TwitterStreaming, Queue::Beanstalk
- Defined in:
- lib/messed/logger.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(cls) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/messed/logger.rb', line 6 def self.included(cls) cls.class_eval(<<-HERE_DOC, __FILE__, __LINE__) def self.logger Messed::Logger.instance.logger end def self.logger=(logger) Messed::Logger.instance.logger = logger end HERE_DOC end |