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



85
86
87
# File 'lib/zold/log.rb', line 85

def debug(msg)
  print(msg)
end

#debug?Boolean

Returns:

  • (Boolean)


89
90
91
# File 'lib/zold/log.rb', line 89

def debug?
  true
end

#error(msg) ⇒ Object



101
102
103
# File 'lib/zold/log.rb', line 101

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

#info(msg) ⇒ Object



93
94
95
# File 'lib/zold/log.rb', line 93

def info(msg)
  print(msg)
end

#info?Boolean

Returns:

  • (Boolean)


97
98
99
# File 'lib/zold/log.rb', line 97

def info?
  true
end