class ReVIEW::TTYLogger

Public Instance Methods

debug(msg, location: nil) click to toggle source
Calls superclass method
# File lib/review/logger.rb, line 62
def debug(msg, location: nil)
  if location
    super("#{location}: #{msg}")
  else
    super(msg)
  end
end
error(msg, location: nil) click to toggle source
Calls superclass method
# File lib/review/logger.rb, line 54
def error(msg, location: nil)
  if location
    super("#{location}: #{msg}")
  else
    super(msg)
  end
end
ttylogger?() click to toggle source
# File lib/review/logger.rb, line 70
def ttylogger?
  true
end
warn(msg, location: nil) click to toggle source
Calls superclass method
# File lib/review/logger.rb, line 46
def warn(msg, location: nil)
  if location
    super("#{location}: #{msg}")
  else
    super(msg)
  end
end