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



143
144
145
# File 'lib/zold/log.rb', line 143

def debug(msg)
  # nothing to do here
end

#debug?Boolean

Returns:

  • (Boolean)


147
148
149
# File 'lib/zold/log.rb', line 147

def debug?
  false
end

#error(msg) ⇒ Object



159
160
161
# File 'lib/zold/log.rb', line 159

def error(msg)
  # nothing to do here
end

#info(msg) ⇒ Object



151
152
153
# File 'lib/zold/log.rb', line 151

def info(msg)
  # nothing to do here
end

#info?Boolean

Returns:

  • (Boolean)


155
156
157
# File 'lib/zold/log.rb', line 155

def info?
  false
end