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



84
85
86
# File 'lib/zold/log.rb', line 84

def debug(msg)
  # nothing to do here
end

#debug?Boolean

Returns:

  • (Boolean)


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

def debug?
  false
end

#error(msg) ⇒ Object



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

def error(msg)
  # nothing to do here
end

#info(msg) ⇒ Object



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

def info(msg)
  # nothing to do here
end

#info?Boolean

Returns:

  • (Boolean)


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

def info?
  false
end