Class: RLogger

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/rforward/rlogger.rb

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

#statObject



12
13
14
# File 'lib/rforward/rlogger.rb', line 12

def stat
  puts Stat.instance
end