Class: RightAWSLogger

Inherits:
Object show all
Defined in:
lib/maws/logger.rb

Instance Method Summary collapse

Instance Method Details

#debug(str) ⇒ Object



29
30
31
# File 'lib/maws/logger.rb', line 29

def debug str
  puts str
end

#error(str) ⇒ Object



17
18
19
# File 'lib/maws/logger.rb', line 17

def error str
  $stderr.puts "[ERROR]: #{str}"
end

#info(str) ⇒ Object



25
26
27
# File 'lib/maws/logger.rb', line 25

def info str
  puts "---- " + str.to_s
end

#warn(str) ⇒ Object



21
22
23
# File 'lib/maws/logger.rb', line 21

def warn str
  puts "[warning]: #{str}"
end