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



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

def debug(msg)
  print(msg)
end

#debug?Boolean

Returns:

  • (Boolean)


53
54
55
# File 'lib/zold/log.rb', line 53

def debug?
  true
end

#error(msg) ⇒ Object



65
66
67
# File 'lib/zold/log.rb', line 65

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

#info(msg) ⇒ Object



57
58
59
# File 'lib/zold/log.rb', line 57

def info(msg)
  print(msg)
end

#info?Boolean

Returns:

  • (Boolean)


61
62
63
# File 'lib/zold/log.rb', line 61

def info?
  true
end