Class: SensuRunCheck::NilLog
- Inherits:
-
Object
- Object
- SensuRunCheck::NilLog
- Defined in:
- lib/sensu-run-check/runner.rb
Overview
Swallow logs
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ NilLog
constructor
A new instance of NilLog.
Constructor Details
#initialize ⇒ NilLog
Returns a new instance of NilLog.
137 138 139 |
# File 'lib/sensu-run-check/runner.rb', line 137 def initialize self.class.create_level_methods end |
Class Method Details
.create_level_methods ⇒ Object
141 142 143 144 145 146 147 |
# File 'lib/sensu-run-check/runner.rb', line 141 def self.create_level_methods Sensu::Logger::LEVELS.each do |level| define_method(level) do |*args| # Do nothing end end end |