Module: Logger
- Defined in:
- lib/wish/logger.rb
Class Method Summary collapse
Class Method Details
.error(msg) ⇒ Object
10 11 12 |
# File 'lib/wish/logger.rb', line 10 def error(msg) puts Time.new.to_s + " [ERROR] " + msg.inspect end |
.info(msg) ⇒ Object
6 7 8 |
# File 'lib/wish/logger.rb', line 6 def info(msg) puts Time.new.to_s + " [INFO] " + msg.inspect end |