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



87
88
89
# File 'lib/zold/log.rb', line 87

def debug(msg)
  print(msg)
end

#debug?Boolean

Returns:

  • (Boolean)


91
92
93
# File 'lib/zold/log.rb', line 91

def debug?
  true
end

#error(msg) ⇒ Object



103
104
105
# File 'lib/zold/log.rb', line 103

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

#info(msg) ⇒ Object



95
96
97
# File 'lib/zold/log.rb', line 95

def info(msg)
  print(msg)
end

#info?Boolean

Returns:

  • (Boolean)


99
100
101
# File 'lib/zold/log.rb', line 99

def info?
  true
end