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



34
35
36
# File 'lib/zold/log.rb', line 34

def debug(msg)
  print(msg)
end

#debug?Boolean

Returns:

  • (Boolean)


38
39
40
# File 'lib/zold/log.rb', line 38

def debug?
  true
end

#error(msg) ⇒ Object



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

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

#info(msg) ⇒ Object



42
43
44
# File 'lib/zold/log.rb', line 42

def info(msg)
  print(msg)
end

#info?Boolean

Returns:

  • (Boolean)


46
47
48
# File 'lib/zold/log.rb', line 46

def info?
  true
end