Class: Zold::Log::Verbose

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

Overview

Extra verbose log

Instance Method Summary collapse

Instance Method Details

#debug(msg) ⇒ Object



51
52
53
# File 'lib/zold/log.rb', line 51

def debug(msg)
  print(msg)
end

#debug?Boolean

Returns:

  • (Boolean)


55
56
57
# File 'lib/zold/log.rb', line 55

def debug?
  true
end

#error(msg) ⇒ Object



67
68
69
# File 'lib/zold/log.rb', line 67

def error(msg)
  print("#{Rainbow('ERROR').red}: #{msg}")
end

#info(msg) ⇒ Object



59
60
61
# File 'lib/zold/log.rb', line 59

def info(msg)
  print(msg)
end

#info?Boolean

Returns:

  • (Boolean)


63
64
65
# File 'lib/zold/log.rb', line 63

def info?
  true
end