module Rack2Aws::Logger

Public Instance Methods

show_welcome() click to toggle source
# File lib/rack2aws/logger.rb, line 8
def show_welcome
  welcome_art = Artii::Base.new
  $stdout.puts "##############################################################".bold.blue
  output = welcome_art.asciify("Rack2Aws").bold.blue
  output << "v#{Rack2Aws::VERSION} (>o<)".bold.blue
  $stdout.puts output
  $stdout.puts "#############################################################".bold.blue
end
warn(msg) click to toggle source
# File lib/rack2aws/logger.rb, line 17
def warn(msg)
  output = "WARNING: ".bold
  output << msg
  output.brown
end