Class: Logger

Inherits:
Object
  • Object
show all
Defined in:
lib/tm_helper/tm_helper.rb

Instance Method Summary collapse

Instance Method Details

#debug(string) ⇒ Object



49
# File 'lib/tm_helper/tm_helper.rb', line 49

def debug string; orig_debug string; printout string; end

#error(string) ⇒ Object



51
# File 'lib/tm_helper/tm_helper.rb', line 51

def error string; orig_error string; printout string; end

#info(string) ⇒ Object



48
# File 'lib/tm_helper/tm_helper.rb', line 48

def info string; orig_info string; printout string; end

#orig_debugObject



44
# File 'lib/tm_helper/tm_helper.rb', line 44

alias :orig_debug :debug

#orig_errorObject



46
# File 'lib/tm_helper/tm_helper.rb', line 46

alias :orig_error :error

#orig_infoObject



43
# File 'lib/tm_helper/tm_helper.rb', line 43

alias :orig_info :info

#orig_warnObject



45
# File 'lib/tm_helper/tm_helper.rb', line 45

alias :orig_warn :warn

#warn(string) ⇒ Object



50
# File 'lib/tm_helper/tm_helper.rb', line 50

def warn string; orig_warn string; printout string; end