Class: RLogger
Instance Method Summary collapse
Instance Method Details
#error(msg) ⇒ Object
8 9 10 |
# File 'lib/rforward/rlogger.rb', line 8 def error msg puts "[ERROR] #{msg}" end |
#info(msg) ⇒ Object
4 5 6 |
# File 'lib/rforward/rlogger.rb', line 4 def info msg puts "[INFO] #{msg}" end |
#stat ⇒ Object
12 13 14 |
# File 'lib/rforward/rlogger.rb', line 12 def stat puts Stat.instance end |