Module: Threatinator::Logging

Included in:
Actions::Run::Action, FeedRunner
Defined in:
lib/threatinator/logging.rb

Overview

Mixin for mixing logging facilities into classes.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
# File 'lib/threatinator/logging.rb', line 6

def self.included(base)
  base.extend(LoggingClassMethods)
end

Instance Method Details

#loggerObject



10
11
12
# File 'lib/threatinator/logging.rb', line 10

def logger
  @logger ||= self.class.logger
end