Class: Scarpe::Components::PrintLogImpl

Inherits:
Object
  • Object
show all
Includes:
Shoes::Log
Defined in:
scarpe-components/lib/scarpe/components/print_logger.rb

Defined Under Namespace

Classes: PrintLogger

Constant Summary

Constants included from Shoes::Log

Shoes::Log::DEFAULT_COMPONENT, Shoes::Log::DEFAULT_DEBUG_LOG_CONFIG, Shoes::Log::DEFAULT_LOG_CONFIG

Instance Method Summary collapse

Methods included from Shoes::Log

configure_logger, #log_init, logger

Instance Method Details

#configure_logger(log_config) ⇒ Object



56
57
58
# File 'scarpe-components/lib/scarpe/components/print_logger.rb', line 56

def configure_logger(log_config)
  # For now, ignore
end

#logger_for_component(component) ⇒ Object



52
53
54
# File 'scarpe-components/lib/scarpe/components/print_logger.rb', line 52

def logger_for_component(component)
  PrintLogger.new(component.to_s)
end