module SiteMapper::Logger::SystemOutLogger

Log to terminal.

Public Class Methods

err_log(msg) click to toggle source

Log to STDERR @param [String] msg to be logged to STDERR

# File lib/site_mapper/logger.rb, line 53
def self.err_log(msg)
  $stderr.puts("[ERROR] #{msg}")
end
log(msg) click to toggle source

Log to STDOUT @param [String] msg to be logged to STDOUT

# File lib/site_mapper/logger.rb, line 47
def self.log(msg)
  $stdout.puts(msg)
end