Sha256: dee9df33202cf01bd9eb2326544c68562b39a158f0ef28d6898fcb8e7f5252a5
Contents?: true
Size: 686 Bytes
Versions: 10
Compression:
Stored size: 686 Bytes
Contents
# encoding: utf-8 require "logstash/util/loggable" java_import java.util.function.Consumer module LogStash module Inputs module Azure class ErrorNotificationHandler include Consumer include LogStash::Util::Loggable def initialize @logger = self.logger end 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 end end end end
Version data entries
10 entries across 10 versions & 1 rubygems