Module: Itamae::Logger

Defined in:
lib/itamae/logger.rb

Defined Under Namespace

Classes: Formatter

Class Method Summary collapse

Class Method Details

.log_deviceObject



68
69
70
# File 'lib/itamae/logger.rb', line 68

def log_device
  @log_device || $stdout
end

.log_device=(value) ⇒ Object



72
73
74
75
# File 'lib/itamae/logger.rb', line 72

def log_device=(value)
  @log_device = value
  @logger = create_logger
end

.loggerObject



64
65
66
# File 'lib/itamae/logger.rb', line 64

def logger
  @logger ||= create_logger
end