class LogStash::Inputs::Azure::ErrorNotificationHandler
Public Class Methods
new()
click to toggle source
# File lib/logstash/inputs/error_notification_handler.rb, line 11 def initialize @logger = self.logger end
Public Instance Methods
accept(exception_received_event_args)
click to toggle source
# File lib/logstash/inputs/error_notification_handler.rb, line 15 def accept(exception_received_event_args) @logger.error("Error with Event Processor Host. ", :host_name => exception_received_event_args.getHostname(), :action => exception_received_event_args.getAction(), :exception => exception_received_event_args.getException().toString()) end