Class: Zold::Log::Quiet

Inherits:
Object
  • Object
show all
Defined in:
lib/zold/log.rb

Overview

Log that doesn’t log anything

Instance Method Summary collapse

Instance Method Details

#debug(msg) ⇒ Object



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

def debug(msg)
  # nothing to do here
end

#debug?Boolean

Returns:

  • (Boolean)


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

def debug?
  false
end

#error(msg) ⇒ Object



108
109
110
# File 'lib/zold/log.rb', line 108

def error(msg)
  # nothing to do here
end

#info(msg) ⇒ Object



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

def info(msg)
  # nothing to do here
end

#info?Boolean

Returns:

  • (Boolean)


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

def info?
  false
end