Class: MawsLogger
Instance Method Summary collapse
Instance Method Details
#debug(str) ⇒ Object
47 48 49 |
# File 'lib/maws/logger.rb', line 47 def debug str puts str end |
#error(str) ⇒ Object
35 36 37 |
# File 'lib/maws/logger.rb', line 35 def error str $stderr.puts "[ERROR]: #{str}" end |
#info(str) ⇒ Object
43 44 45 |
# File 'lib/maws/logger.rb', line 43 def info str puts str end |
#warn(str) ⇒ Object
39 40 41 |
# File 'lib/maws/logger.rb', line 39 def warn str puts "[warning]: #{str}" end |