Module: Floe::Logging

Included in:
CLI, Workflow, Workflow::Context
Defined in:
lib/floe/logging.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
# File 'lib/floe/logging.rb', line 5

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

Instance Method Details

#loggerObject



9
10
11
# File 'lib/floe/logging.rb', line 9

def logger
  @logger || Floe.logger
end

#logger=(logger) ⇒ Object



13
14
15
# File 'lib/floe/logging.rb', line 13

def logger=(logger)
  @logger = logger
end