Module: Perennial::Loggable

Included in:
Application::CommandEnv
Defined in:
lib/perennial/loggable.rb

Overview

A mixin that provides logger instance and class methods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(parent) ⇒ Object



6
7
8
# File 'lib/perennial/loggable.rb', line 6

def self.included(parent)
  parent.extend self
end

Instance Method Details

#loggerObject



10
11
12
# File 'lib/perennial/loggable.rb', line 10

def logger
  Logger
end