Sha256: d99302ac3c0f3c81ba932c4b6c1a85aec6a79f2ac3e0c007dfca7e46336e4944
Contents?: true
Size: 501 Bytes
Versions: 35
Compression:
Stored size: 501 Bytes
Contents
# encoding: utf-8 module LogStash module Instrument module PeriodicPoller class PeriodicPollerObserver include LogStash::Util::Loggable def initialize(poller) @poller = poller end def update(time, result, exception) if exception logger.error("PeriodicPoller exception", :poller => @poller, :result => result, :exception => exception, :executed_at => time) end end end end; end; end
Version data entries
35 entries across 35 versions & 4 rubygems