class Genebrand::Logger

Public Class Methods

error(text) click to toggle source
# File lib/genebrand/logger.rb, line 3
def self.error(text)
  puts "ERROR: #{text}".red
end
hint(text) click to toggle source
# File lib/genebrand/logger.rb, line 15
def self.hint(text)
  puts text.bold
end
info(text) click to toggle source
# File lib/genebrand/logger.rb, line 11
def self.info(text)
  puts text.bold.cyan
end
log(text) click to toggle source
# File lib/genebrand/logger.rb, line 19
def self.log(text)
  puts text
end
warning(text) click to toggle source
# File lib/genebrand/logger.rb, line 7
def self.warning(text)
  puts "WARNING: #{text}".yellow
end