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



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

def debug(msg)
  Log.print(msg)
end

#debug?Boolean

Returns:

  • (Boolean)


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

def debug?
  true
end

#error(msg) ⇒ Object



77
78
79
# File 'lib/zold/log.rb', line 77

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

#info(msg) ⇒ Object



69
70
71
# File 'lib/zold/log.rb', line 69

def info(msg)
  Log.print(msg)
end

#info?Boolean

Returns:

  • (Boolean)


73
74
75
# File 'lib/zold/log.rb', line 73

def info?
  true
end