Module: Fluent::Plugin::OwnedByMixin
Instance Method Summary collapse
Instance Method Details
#log ⇒ Object
35 36 37 38 39 |
# File 'lib/fluent/plugin/owned_by_mixin.rb', line 35 def log if instance_variable_defined?("@log") @log end end |
#owner ⇒ Object
29 30 31 32 33 |
# File 'lib/fluent/plugin/owned_by_mixin.rb', line 29 def owner if instance_variable_defined?("@_owner") @_owner end end |
#owner=(plugin) ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/fluent/plugin/owned_by_mixin.rb', line 20 def owner=(plugin) @_owner = plugin @_plugin_id = plugin.plugin_id @_plugin_id_configured = plugin.plugin_id_configured? @log = plugin.log end |