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



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

def debug(msg)
  # nothing to do here
end

#debug?Boolean

Returns:

  • (Boolean)


111
112
113
# File 'lib/zold/log.rb', line 111

def debug?
  false
end

#error(msg) ⇒ Object



123
124
125
# File 'lib/zold/log.rb', line 123

def error(msg)
  # nothing to do here
end

#info(msg) ⇒ Object



115
116
117
# File 'lib/zold/log.rb', line 115

def info(msg)
  # nothing to do here
end

#info?Boolean

Returns:

  • (Boolean)


119
120
121
# File 'lib/zold/log.rb', line 119

def info?
  false
end