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



145
146
147
# File 'lib/zold/log.rb', line 145

def debug(msg)
  # nothing to do here
end

#debug?Boolean

Returns:

  • (Boolean)


149
150
151
# File 'lib/zold/log.rb', line 149

def debug?
  false
end

#error(msg) ⇒ Object



161
162
163
# File 'lib/zold/log.rb', line 161

def error(msg)
  # nothing to do here
end

#info(msg) ⇒ Object



153
154
155
# File 'lib/zold/log.rb', line 153

def info(msg)
  # nothing to do here
end

#info?Boolean

Returns:

  • (Boolean)


157
158
159
# File 'lib/zold/log.rb', line 157

def info?
  false
end