Class: Bosh::Monitor::Plugins::Logger

Inherits:
Base
  • Object
show all
Defined in:
lib/bosh/monitor/plugins/logger.rb

Instance Attribute Summary

Attributes inherited from Base

#event_kinds, #logger, #options

Instance Method Summary collapse

Methods inherited from Base

#initialize, #validate_options

Constructor Details

This class inherits a constructor from Bosh::Monitor::Plugins::Base

Instance Method Details

#process(event) ⇒ Object



8
9
10
# File 'lib/bosh/monitor/plugins/logger.rb', line 8

def process(event)
  logger.info("[#{event.kind.to_s.upcase}] #{event}")
end

#runObject



4
5
6
# File 'lib/bosh/monitor/plugins/logger.rb', line 4

def run
  logger.info("Logging delivery agent is running...")
end