Sha256: 780290817a618ba10ce9cefc68eab57996e6930aa385ce570604b8da919d2334
Contents?: true
Size: 663 Bytes
Versions: 15
Compression:
Stored size: 663 Bytes
Contents
# encoding: utf-8 require "logstash/util/loggable" module LogStash module Inputs module Azure class ErrorNotificationHandler include java.util.function.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
15 entries across 15 versions & 1 rubygems