class FluentPluginElbAccessLogInput::TimerWatcher
Public Class Methods
new(interval, repeat, log, &callback)
click to toggle source
Calls superclass method
# File lib/fluent/plugin/in_elb_access_log.rb, line 473 def initialize(interval, repeat, log, &callback) @callback = callback @log = log super(interval, repeat) end
Public Instance Methods
on_timer()
click to toggle source
# File lib/fluent/plugin/in_elb_access_log.rb, line 479 def on_timer @callback.call rescue => e @log.error(e.message) @log.error_backtrace(e.backtrace) end