Module: Itamae::Logger

Defined in:
lib/itamae/logger.rb

Defined Under Namespace

Classes: Formatter

Class Method Summary collapse

Class Method Details

.log_deviceObject


81
82
83
# File 'lib/itamae/logger.rb', line 81

def log_device
  @log_device || $stdout
end

.log_device=(value) ⇒ Object


85
86
87
88
# File 'lib/itamae/logger.rb', line 85

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

.loggerObject


77
78
79
# File 'lib/itamae/logger.rb', line 77

def logger
  @logger ||= create_logger
end